Description
In the Linux kernel, the following vulnerability has been resolved:

mac802154: hold an interface reference across the scan worker

mac802154_scan_worker() captures the scanning sub-interface under RCU
and then keeps dereferencing sdata->dev after rcu_read_unlock() and
outside the rtnl -- in the failure traces, in
mac802154_transmit_beacon_req() (skb->dev = sdata->dev), and in the
end_scan cleanup. Nothing keeps that netdev alive across the worker
iteration.

A concurrent DEL_INTERFACE or PHY removal can unregister the interface
once the worker drops the rtnl between its two drv_set_channel()
sections. unregister_netdevice() frees the netdev asynchronously from
netdev_run_todo() with the rtnl already dropped, so neither holding the
rtnl nor the per-PHY IEEE802154_IS_SCANNING flag prevents a stale worker
iteration from dereferencing the freed netdev -- a KASAN
slab-use-after-free, reachable by racing TRIGGER_SCAN against
DEL_INTERFACE (both CAP_NET_ADMIN).

Pin the netdev with netdev_hold() while the RCU read lock is still held,
and release it at every worker exit.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contains a flaw in the mac802154 wireless driver where the scanning worker retains an interface reference only under an RCU read lock and then continues to dereference the net device after that lock is released and the rtnl context is dropped. When a concurrent interface deletion or PHY removal occurs, the net device can be unregistered while the worker still holds a dangling pointer, triggering a slab use‑after‑free that is detected by KASAN. This kernel memory corruption can lead to arbitrary code execution with the privileges of the executing process, possibly allowing a local user with CAP_NET_ADMIN to gain higher privileges or crash the system.

Affected Systems

All Linux kernel releases that contain the mac802154 driver are affected; no specific vendor or kernel version is listed in the CNA data. The issue exists in the mainstream kernel source and should be considered present until the fix is merged into a released kernel.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, indicating no publicly known exploits at the time of this analysis. Nonetheless, the use‑after‑free requires a local user with administrative privileges (CAP_NET_ADMIN) to trigger a race between a scan request and an interface deletion. The impact is a potential kernel crash or privilege escalation, which would be severe if exploited. Given the lack of evidence for widespread exploitation, the immediate risk is moderate but the severity warrants prompt patching.

Generated by OpenCVE AI on August 10, 2026 at 13:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the mac802154 scan worker fix
  • If a kernel upgrade is not possible, disable or remove IEEE802154 networking interfaces to eliminate the race condition
  • Ensure that any scan operations are performed only after the interface is fully initialized and before deletion operations, or block DELETE_INTERFACE actions while scanning is in progress

Generated by OpenCVE AI on August 10, 2026 at 13:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 14:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: mac802154: hold an interface reference across the scan worker mac802154_scan_worker() captures the scanning sub-interface under RCU and then keeps dereferencing sdata->dev after rcu_read_unlock() and outside the rtnl -- in the failure traces, in mac802154_transmit_beacon_req() (skb->dev = sdata->dev), and in the end_scan cleanup. Nothing keeps that netdev alive across the worker iteration. A concurrent DEL_INTERFACE or PHY removal can unregister the interface once the worker drops the rtnl between its two drv_set_channel() sections. unregister_netdevice() frees the netdev asynchronously from netdev_run_todo() with the rtnl already dropped, so neither holding the rtnl nor the per-PHY IEEE802154_IS_SCANNING flag prevents a stale worker iteration from dereferencing the freed netdev -- a KASAN slab-use-after-free, reachable by racing TRIGGER_SCAN against DEL_INTERFACE (both CAP_NET_ADMIN). Pin the netdev with netdev_hold() while the RCU read lock is still held, and release it at every worker exit.
Title mac802154: hold an interface reference across the scan worker
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T11:58:47.478Z

Reserved: 2026-07-30T09:28:09.369Z

Link: CVE-2026-68126

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T15:15:04Z

Weaknesses