Skip to contentSkip to conversation

CVE-2026-98337: wifi: mac80211: don't start a ROC while scanning

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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 ieee80211_start_next_roc+0x256/0x2d0
  Workqueue: events_unbound cfg80211_wiphy_work
  Call Trace:
   __ieee80211_scan_completed+0x4fd/0xe40 net/mac80211/scan.c:537
   ieee80211_scan_work+0x472/0x1ff0 net/mac80211/scan.c:1193
   cfg80211_wiphy_work+0x410/0x570 net/wireless/core.c:513

The Linux kernel CVE team has assigned CVE-2026-98337 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.5 with commit aaa016ccd5df89d73483d0d51ee1f692978ccc35 and fixed in 6.12.112 with commit 5dc8ec2f8d1d62914661577c23ec151f5c9734a4
	Issue introduced in 4.5 with commit aaa016ccd5df89d73483d0d51ee1f692978ccc35 and fixed in 6.18.54 with commit 81baab8b645ec532bad2b7a8464191c720ef8fd9
	Issue introduced in 4.5 with commit aaa016ccd5df89d73483d0d51ee1f692978ccc35 and fixed in 7.2.8 with commit 58b806f699052c572dec6cab2c376f884f27e98f
	Issue introduced in 4.5 with commit aaa016ccd5df89d73483d0d51ee1f692978ccc35 and fixed in 7.3-rc4 with commit 733f0fde95392ed5f61a4e36aee661ea8d0e8581

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98337

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	net/mac80211/offchannel.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/5dc8ec2f8d1d62914661577c23ec151f5c9734a4
	https://git.kernel.org/stable/c/81baab8b645ec532bad2b7a8464191c720ef8fd9
	https://git.kernel.org/stable/c/58b806f699052c572dec6cab2c376f884f27e98f
	https://git.kernel.org/stable/c/733f0fde95392ed5f61a4e36aee661ea8d0e8581