mac802154: hold an interface reference across the scan worker (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.18 % · percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/bd7110f0caa32426140ff302a209c53294ef2cfd
- https://git.kernel.org/stable/c/dd4754194a706163294b6141460101b99082c8c7
- https://git.kernel.org/stable/c/59c1d5463b7bc5a2cdaae27108d1dfd67edc7d1b
- https://git.kernel.org/stable/c/5f303f622f6bb8907c405e5123a0ab0f70fb0065
- https://git.kernel.org/stable/c/234e5e898b713bc0b3a631b6f002897f43d046c8
European references
- ENISA EUVD · EUVD-2026-55507
- GCVE · GCVE-0-2026-68126
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1255 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1202 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1164 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1069 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 57588c71177f0bfc08509c2c3a9bfe32850c0786 < bd7110f0caa32426140ff302a209c53294ef2cfd ; affected 57588c71177f0bfc08509c2c3a9bfe32850c0786 < dd4754194a706163294b6141460101b99082c8c7 ; affected 57588c71177f0bfc08509c2c3a9bfe32850c0786 < 59c1d5463b7bc5a2cdaae27108d1dfd67edc7d1b ; affected 57588c71177f0bfc08509c2c3a9bfe32850c0786 < 5f303f622f6bb8907c405e5123a0ab0f70fb0065 ; affected 57588c71177f0bfc08509c2c3a9bfe32850c0786 < 234e5e898b713bc0b3a631b6f002897f43d046c8 |
| Linux · Linux | affected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.148 ≤ 6.6.* ; unaffected 6.12.101 ≤ 6.12.* ; unaffected 6.18.42 ≤ 6.18.* ; unaffected 7.1.6 ≤ 7.1.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |