CVE-2026-46166: wifi: mac80211: use safe list iteration in radar detect work
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: use safe list iteration in radar detect work
The call to ieee80211_dfs_cac_cancel can cause the iterated chanctx to be freed and removed from the list. Guard against this to avoid a slab-use-after-free error.
The Linux kernel CVE team has assigned CVE-2026-46166 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12 with commit bca8bc0399ac2efd56e6adbed0307e10125a556c and fixed in 6.12.88 with commit 887ece6c23b49d02a6678e7a8d5ad213d75883ce Issue introduced in 6.12 with commit bca8bc0399ac2efd56e6adbed0307e10125a556c and fixed in 6.18.30 with commit 7577a4b8a10fab45a6ee2045ea038a5adadbb585 Issue introduced in 6.12 with commit bca8bc0399ac2efd56e6adbed0307e10125a556c and fixed in 7.0.7 with commit 120149fb3ebcf674832ca3cafd32bedcdb686dde Issue introduced in 6.12 with commit bca8bc0399ac2efd56e6adbed0307e10125a556c and fixed in 7.1-rc3 with commit ac8eb3e18f41e2cc8492cc1d358bcb786c850270
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-46166
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/util.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/887ece6c23b49d02a6678e7a8d5ad213d75883ce https://git.kernel.org/stable/c/7577a4b8a10fab45a6ee2045ea038a5adadbb585 https://git.kernel.org/stable/c/120149fb3ebcf674832ca3cafd32bedcdb686dde https://git.kernel.org/stable/c/ac8eb3e18f41e2cc8492cc1d358bcb786c850270