<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 18:02:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-97599 — ieee802154: hwsim: serialize pib updates to fix double-free</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-97599</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;ieee802154: hwsim: serialize pib updates to fix double-free&lt;/p&gt;
&lt;p&gt;hwsim_update_pib() does an unserialized read-swap-free of phy-&amp;gt;pib:&lt;/p&gt;
&lt;p&gt;pib_old = rtnl_dereference(phy-&amp;gt;pib);
	...
	rcu_assign_pointer(phy-&amp;gt;pib, pib);
	kfree_rcu(pib_old, rcu);&lt;/p&gt;
&lt;p&gt;It assumes the RTNL is held, but -&amp;gt;set_channel is not always called
under it: the mac802154 scan worker changes channels via
drv_set_channel() without the RTNL. Such an update can race an
RTNL-held one on the same phy; both read the same pib_old and both
kfree_rcu() it, double-freeing the object. With SLUB percpu sheaves
batching kfree_rcu(), this surfaces as a KASAN invalid-free in
rcu_free_sheaf().&lt;/p&gt;
&lt;p&gt;struct hwsim_phy has no lock for pib. Add one and make the swap atomic
with rcu_replace_pointer() under it, dropping the misleading
rtnl_dereference().&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;ieee802154: hwsim: serialize pib updates to fix double-free&lt;/p&gt;
&lt;p&gt;hwsim_update_pib() does an unserialized read-swap-free of phy-&amp;gt;pib:&lt;/p&gt;
&lt;p&gt;pib_old = rtnl_dereference(phy-&amp;gt;pib);
	...
	rcu_assign_pointer(phy-&amp;gt;pib, pib);
	kfree_rcu(pib_old, rcu);&lt;/p&gt;
&lt;p&gt;It assumes the RTNL is held, but -&amp;gt;set_channel is not always called
under it: the mac802154 scan worker changes channels via
drv_set_channel() without the RTNL. Such an update can race an
RTNL-held one on the same phy; both read the same pib_old and both
kfree_rcu() it, double-freeing the object. With SLUB percpu sheaves
batching kfree_rcu(), this surfaces as a KASAN invalid-free in
rcu_free_sheaf().&lt;/p&gt;
&lt;p&gt;struct hwsim_phy has no lock for pib. Add one and make the swap atomic
with rcu_replace_pointer() under it, dropping the misleading
rtnl_dereference().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-97599</guid>
    </item>
  </channel>
</rss>
