Linux
mac802154: fix netdev use-after-free in beacon worker
In the Linux kernel, the following vulnerability has been resolved: mac802154: fix netdev use-after-free in beacon worker mac802154_beacon_worker() reads local->beacon_req under RCU and derives the sub-interface from the request, but then drops the RCU read lock and continues to use both sdata and the embedded wpan_dev. mac802154_stop_beacons_locked() cancels only pending beacon work, clears local->beacon_req and frees the request. A beacon worker that is already running can therefore continue after interface teardown and dereference the freed netdev private area. The scan worker already pins the netdev before leaving RCU. Apply the same lifetime rule to the beacon worker: take a netdev reference while the request is still protected by RCU, and release it on all paths that continue after the reference is acquired.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3accf4762734a69ebd03cba989249c78ac7dfc7e, < fe820dcc1d8ff77783a9d2bcc93b98c99ac6d517
- >= 3accf4762734a69ebd03cba989249c78ac7dfc7e, < e5fb0e03bc7f45508c182a427357bf6b389a9033
- >= 3accf4762734a69ebd03cba989249c78ac7dfc7e, < e6cd416a899edc912b428c4ba399bd73f516cb31
- >= 3accf4762734a69ebd03cba989249c78ac7dfc7e, < 9d067e581597c462c51fee8a30b51bc48a68c4e1
- >= 3accf4762734a69ebd03cba989249c78ac7dfc7e, < 5f26a690e8efa54315e4922368daf54e0b8f5515
Fixed in fe820dcc1d8ff77783a9d2bcc93b98c99ac6d517, e5fb0e03bc7f45508c182a427357bf6b389a9033, e6cd416a899edc912b428c4ba399bd73f516cb31, 9d067e581597c462c51fee8a30b51bc48a68c4e1, 5f26a690e8efa54315e4922368daf54e0b8f5515
- 6.3
Fixed in 0, 6.6.152, 6.12.104, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to fe820dcc1d8ff77783a9d2bcc93b98c99ac6d517 or e5fb0e03bc7f45508c182a427357bf6b389a9033 or e6cd416a899edc912b428c4ba399bd73f516cb31 or 9d067e581597c462c51fee8a30b51bc48a68c4e1 or 5f26a690e8efa54315e4922368daf54e0b8f5515 or later.
Upgrade Linux to 0 or 6.6.152 or 6.12.104 or 6.18.45 or 7.1.9 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.