Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: keep beacons from queueing the scan work during an abort mt76_abort_scan() clears beacon_wait and then cancels the scan work. A scan work that runs at that time can set beacon_wait again when it moves to a NO_IR or radar channel. After the cancel, a beacon on that channel makes mt76_scan_rx_beacon() queue the work again. The work then runs without dev->mutex while mt76_scan_phy_complete() removes the scan link, so mt76_scan_send_probe() can use the removed link. Reachable via mac80211 cancel_hw_scan, 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 mt76_hw_scan() starts after the abort can always queue its work.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
360552c8592dab3c69e0bbff786b55137f1a81bb to < 096e2e2964b519420b0c93f67c7e603f8635f8ccaffected360552c8592dab3c69e0bbff786b55137f1a81bb to < 49701802948aadc573d84840853e04c9f1cf6777affecteddc34c01521bf025615a588fe296038d69a67e459affected18461d78d2d976c476fab8710f8464ae3051c2bfaffected6.18.33 to < 6.19affected7.0.10 to < 7.1affected
Linux Linux
Default version status: affected
7.1affected0 to < 7.1unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected