CVE-2026-139483: wifi: mt76: keep beacons from queueing the scan work during an abort
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: keep beacons from queueing the scan work during an abort
mt76abortscan() clears beaconwait and then cancels the scan work. A scan work that runs at that time can set beaconwait again when it moves to a NOIR or radar channel. After the cancel, a beacon on that channel makes mt76scanrxbeacon() queue the work again. The work then runs without dev->mutex while mt76scanphycomplete() removes the scan link, so mt76scansendprobe() can use the removed link. Reachable via mac80211 cancelhwscan, chanctx changes, interface removal and the mt7996 reset work.
Disable the scan works instead of cancelling them, so that no beacon can queue them until the abort completes the scan. Enable them again with dev->mutex held, so that a scan that mt76hwscan() starts after the abort can always queue its work.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.19 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.1 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems using the Linux kernel mt76 Wi-Fi driver are exposed when a hardware scan is aborted and beacon processing can queue scan work during that abort. The described paths include mac80211 cancel_hw_scan, channel-context changes, interface removal, and mt7996 reset work.
What condition triggers the unsafe behavior?
A scan work item must run while mt76_abort_scan() is clearing beacon_wait and cancelling scan work, then move to a NO_IR or radar channel and set beacon_wait again. A beacon received afterward can requeue the work, allowing it to run while scan completion removes the scan link.
What is the practical failure mechanism?
The requeued scan work can run without dev->mutex while mt76_scan_phy_complete() removes the scan link. mt76_scan_send_probe() may then use that removed link.
What mitigation does the resolved change implement?
The fix disables scan work rather than merely cancelling it during scan abort, preventing beacons from queueing it until the abort is complete. It re-enables the work with dev->mutex held so newly started hardware scans can safely queue their work.