{"id":29031,"date":"2026-09-25T20:31:43","date_gmt":"2026-09-25T12:31:43","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97599"},"modified":"2026-09-25T20:31:43","modified_gmt":"2026-09-25T12:31:43","slug":"cve-2026-97599","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97599","title":{"rendered":"CVE-2026-97599 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nieee802154: hwsim: se"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ieee802154: hwsim: serialize pib updates to fix double-free<\/p>\n<p>hwsim_update_pib() does an unserialized read-swap-free of phy-&gt;pib:<\/p>\n<p>\tpib_old = rtnl_dereference(phy-&gt;pib);<br \/>\n\t&#8230;<br \/>\n\trcu_assign_pointer(phy-&gt;pib, pib);<br \/>\n\tkfree_rcu(pib_old, rcu);<\/p>\n<p>It assumes the RTNL is held, but -&gt;set_channel is not always called<br \/>\nunder it: the mac802154 scan worker changes channels via<br \/>\ndrv_set_channel() without the RTNL. Such an update can race an<br \/>\nRTNL-held one on the same phy; both read the same pib_old and both<br \/>\nkfree_rcu() it, double-freeing the object. With SLUB percpu sheaves<br \/>\nbatching kfree_rcu(), this surfaces as a KASAN invalid-free in<br \/>\nrcu_free_sheaf().<\/p>\n<p>struct hwsim_phy has no lock for pib. Add one and make the swap atomic<br \/>\nwith rcu_replace_pointer() under it, dropping the misleading<br \/>\nrtnl_dereference().<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ieee802154: hwsim: serialize pib updates to fix double-free<\/p>\n<p>hwsim_update_pib() does an unserialized read-swap-free of phy-&gt;pib:<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29031","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}