CVE-2026-74661: 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
mac802154beaconworker() reads local->beaconreq 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 wpandev.
mac802154stopbeaconslocked() cancels only pending beacon work, clears local->beaconreq 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.