CVE-2026-98182: wifi: mac80211: refuse to make a monitor active when it has no queue
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: refuse to make a monitor active when it has no queue
A monitor interface only gets a TXQ if it's created active, and one can't be added later. Setting the flag on a down interface is still allowed, so the driver is handed a monitor with no queue. ath9k dereferences it:
BUG: kernel NULL pointer dereference, address: 0000000000000066 RIP: 0010:ath_tx_node_init+0x49/0x170 [ath9k] ath9k_add_interface+0x10c/0x140 [ath9k] drv_add_interface+0x54/0x250 [mac80211] ieee80211_do_open+0x32f/0x800 [mac80211]
Reached with CAP_NET_ADMIN by "iw dev X set monitor active" followed by "ip link set X up". RTNL is held, so netlink operations block behind it.
Refuse the flag when there is no queue to give.
The Linux kernel CVE team has assigned CVE-2026-98182 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.15 with commit 79af1f866193de29e65a4dba7d0dab14b0c0ff93 and fixed in 6.12.112 with commit b7b7d46ec4fa127767931938b282c361c0519af6 Issue introduced in 4.15 with commit 79af1f866193de29e65a4dba7d0dab14b0c0ff93 and fixed in 6.18.54 with commit abe15e643e576459469867758ae9c586a7bab95d Issue introduced in 4.15 with commit 79af1f866193de29e65a4dba7d0dab14b0c0ff93 and fixed in 7.2.8 with commit 46c223468537a05a404699771cd3e68532dab5e6 Issue introduced in 4.15 with commit 79af1f866193de29e65a4dba7d0dab14b0c0ff93 and fixed in 7.3-rc4 with commit 2b04d6556964ae9f89819b86a0a7801e39c3aae5
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-98182
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/cfg.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/b7b7d46ec4fa127767931938b282c361c0519af6 https://git.kernel.org/stable/c/abe15e643e576459469867758ae9c586a7bab95d https://git.kernel.org/stable/c/46c223468537a05a404699771cd3e68532dab5e6 https://git.kernel.org/stable/c/2b04d6556964ae9f89819b86a0a7801e39c3aae5