ieee802154: hwsim: serialize pib updates to fix double-free
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
In the Linux kernel, the following vulnerability has been resolved: ieee802154: hwsim: serialize pib updates to fix double-free hwsim_update_pib() does an unserialized read-swap-free of phy->pib: pib_old = rtnl_dereference(phy->pib); ... rcu_assign_pointer(phy->pib, pib); kfree_rcu(pib_old, rcu); It assumes the RTNL is held, but ->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(). 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().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-97599
- 2026-10-03 Alias added: GHSA-r8g8-vw6g-m8xh
- 2026-10-03 Fix available: Linux/[email protected], Linux/Linux@e3b4681197aa026bd2d79358de5a3d62b76b04b9 · CNA
- 2026-10-03 1 new reference · CNA
- 2026-10-19 Fix available: Linux/[email protected] · CNA
- 2026-10-30 Fix available: Linux/[email protected], Linux/Linux@8f44a61f816581c35c1974c8c1a3b3c2c49e96be · CNA
- 2026-10-30 1 new reference · CNA
- 2026-11-06 Affected versions changed · Red Hat
References
Other 6
- https://git.kernel.org/stable/c/8f44a61f816581c35c1974c8c1a3b3c2c49e96be
- https://git.kernel.org/stable/c/e3b4681197aa026bd2d79358de5a3d62b76b04b9
- https://git.kernel.org/stable/c/9973b3a67a7592a780ea12b08334539a900deec1
- https://git.kernel.org/stable/c/d3b8f264ce09573aededd0a97dc41c8147797d8f
- https://git.kernel.org/stable/c/db6442deecb1f13aeaf4f9d77746ea7555630fb3
- https://git.kernel.org/stable/c/979d5b8de8ed4e1f997aef12da5694b99be7b871
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-97599 · CVE Program
- CVE-2026-97599 · NVD
- FIRST EPSS
- GHSA-r8g8-vw6g-m8xh · GitHub Advisory Database · CC BY 4.0
- CVE-2026-97599 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences