Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97595 Overview
CVE-2026-97595 is a use-after-free vulnerability in the Linux kernel mac802154 subsystem, which handles IEEE 802.15.4 wireless personal area network (WPAN) traffic. The flaw resides in the receive (RX) path where ieee802154_subif_frame() queues beacon and MAC-command frames onto per-phy lists without reference counting or locking. When an interface is removed while queued frames still reference its sdata, process-context workers dereference freed memory. Reproduction under Kernel Address Sanitizer (KASAN) confirms the slab-use-after-free in mac802154_rx_mac_cmd_worker. Exploitation requires an attacker on the adjacent 802.15.4 network to flood frames at a victim interface being torn down.
Critical Impact
An adjacent-network attacker can trigger kernel memory corruption leading to denial of service or potential privilege escalation on hosts using IEEE 802.15.4 WPAN interfaces.
Affected Products
- Linux kernel mac802154 subsystem
- Systems using IEEE 802.15.4 (WPAN) network interfaces
- Downstream distributions shipping the vulnerable kernel branches referenced by stable git commits 07f0214, 2f37fba, 3d1fde3, and 4740ef0
Discovery Timeline
- 2026-09-25 - CVE-2026-97595 published to the National Vulnerability Database (NVD)
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97595
Vulnerability Analysis
The mac802154 layer queues received beacon and MAC-command frames onto two per-phy lists: local->rx_beacon_list and local->rx_mac_cmd_list. The softirq producer ieee802154_subif_frame() stores a raw mac_pkt->sdata pointer and skb->dev == sdata->dev on these lists without acquiring any lock or taking a reference on the interface.
Two distinct defects follow from this design. First, the lists have no lock, so the softirq producer calls list_add_tail() while the mac_wq worker calls list_del(). Sibling interfaces on the same phy corrupt the shared list structure. Second, the workers dereference the interface after netdev_priv memory has been freed. mac802154_rx_mac_cmd_worker() touches mac_pkt->sdata directly, and mac802154_rx_beacon_worker() reaches mac802154_process_beacon() which dereferences skb->dev.
Root Cause
Removing a WPAN interface frees its sdata through netdev_priv while a queued frame still points at it. A subsequent worker run reads the freed slab object, producing the KASAN slab-use-after-free report shown in the upstream commit message. The absence of both locking and reference counting on the queued pointer is the root cause.
Attack Vector
Exploitation requires the attacker to transmit MAC-command or beacon frames on the same IEEE 802.15.4 piconet as the victim interface. The upstream reproducer floods a victim interface with MAC command frames and removes the interface to race the worker against the free. The CVSS vector CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H reflects the adjacent-network attack surface and high complexity of winning the teardown race.
No verified public exploit code is available. The upstream commit message documents the KASAN trace: BUG: KASAN: slab-use-after-free in mac802154_rx_mac_cmd_worker+0x463/0x630 [mac802154] triggered from the phy0-mac-cmds workqueue via process_one_work and worker_thread.
Detection Methods for CVE-2026-97595
Indicators of Compromise
- KASAN splats referencing mac802154_rx_mac_cmd_worker or mac802154_rx_beacon_worker with slab-use-after-free reads
- Kernel oops or panic traces originating from the phy0-mac-cmds or phy0-beacons workqueues
- Unexplained kernel memory corruption on hosts with active IEEE 802.15.4 adapters during interface churn
Detection Strategies
- Enable KASAN on test and canary systems that expose WPAN interfaces to validate kernel behavior under adversarial frame floods
- Collect kernel ring buffer (dmesg) entries referencing mac802154, ieee802154_subif_frame, or netdev_run_todo and alert on new occurrences
- Correlate interface removal events (unregister_netdevice) on wpanX devices with concurrent RX softirq activity
Monitoring Recommendations
- Forward kernel logs to a centralized data lake and alert on BUG:, KASAN, and general protection fault keywords tied to the mac802154 module
- Inventory hosts loading the mac802154 kernel module and track their patch status against the fixed stable branches
- Monitor 802.15.4 radio environments for anomalous volumes of beacon or MAC-command frames targeting managed interfaces
How to Mitigate CVE-2026-97595
Immediate Actions Required
- Apply the upstream Linux kernel fix from the referenced stable commits as soon as the distribution backport is available
- Unload the mac802154 module (modprobe -r mac802154) on systems that do not require IEEE 802.15.4 connectivity
- Restrict physical and radio access to 802.15.4 networks hosting Linux endpoints until patched
Patch Information
The fix is distributed across the following upstream commits: Kernel Git Commit 07f0214, Kernel Git Commit 2f37fba, Kernel Git Commit 3d1fde3, and Kernel Git Commit 4740ef0. The patch introduces local->rx_lock around every list access, pins the interface with netdev_hold() and netdev_put() for the lifetime of each queued frame, drains the lists under lock in the workers, and drops not-yet-started frames in ieee802154_if_remove() and ieee802154_remove_interfaces() before unregistration.
Workarounds
- Blacklist the mac802154 and ieee802154 modules on hosts that have no operational need for WPAN
- Avoid dynamic add and remove cycles of 802.15.4 interfaces on unpatched kernels, especially while frames are being received
- Isolate 802.15.4 radios on dedicated hardware that is not multi-tenant and not exposed to untrusted neighbors
# Prevent the vulnerable module from loading on unpatched hosts
echo 'blacklist mac802154' | sudo tee /etc/modprobe.d/blacklist-mac802154.conf
echo 'blacklist ieee802154' | sudo tee -a /etc/modprobe.d/blacklist-mac802154.conf
sudo update-initramfs -u
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

