CVE-2026-98337: wifi: mac80211: don't start a ROC while scanning
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: don't start a ROC while scanning
The ROC work can be pending when a scan starts (which requires ROC list to be empty, but that's possible), and then a new ROC can be added to the list and the work will pick it up.
Avoid starting that ROC if a scan made it between things, as otherwise we'll hit a warning later:
WARNING: net/mac80211/offchannel.c:404 at ieee80211startnextroc+0x256/0x2d0 Workqueue: eventsunbound cfg80211wiphywork Call Trace: ieee80211scancompleted+0x4fd/0xe40 net/mac80211/scan.c:537 ieee80211scanwork+0x472/0x1ff0 net/mac80211/scan.c:1193 cfg80211wiphywork+0x410/0x570 net/wireless/core.c:513
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.113-1~deb12u1 - Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1
Event History
Frequently Asked Questions
What conditions are required to trigger the issue?
A remain-on-channel (ROC) work item must be pending when a scan begins, and a new ROC must then be added to the ROC list before the pending work runs. The race can cause mac80211 to start the ROC while scanning and trigger a warning in the off-channel code.
How can I identify signs that a system has encountered this issue?
The reported symptom is a kernel warning at net/mac80211/offchannel.c:404 in ieee80211_start_next_roc. The call trace may include __ieee80211_scan_completed, ieee80211_scan_work, and cfg80211_wiphy_work.