CVE-2026-98328: wifi: mac80211: add HE 6 GHz capability in the scan elems len
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: add HE 6 GHz capability in the scan elems len
The HE 6 GHz Band Capability element is in the probe request for every band if 6 GHz is supported, so add the size to scan_ies_len.
Otherwise, building probe request elements can fail, triggering the WARN_ON in __ieee80211_start_scan().
The Linux kernel CVE team has assigned CVE-2026-98328 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.8 with commit 2ad2274c58ee2dcaf9ccde5c63ff30f59b138f77 and fixed in 6.1.189 with commit db19d5414227d86cee77a000607a6710d7f36853 Issue introduced in 5.8 with commit 2ad2274c58ee2dcaf9ccde5c63ff30f59b138f77 and fixed in 6.6.158 with commit be7bfdea1ec9b672a80c736bd6ed932e1adebef8 Issue introduced in 5.8 with commit 2ad2274c58ee2dcaf9ccde5c63ff30f59b138f77 and fixed in 6.12.112 with commit 8659bd6c4c852096b6621086d1ea38eed84b454a Issue introduced in 5.8 with commit 2ad2274c58ee2dcaf9ccde5c63ff30f59b138f77 and fixed in 6.18.54 with commit ad5bd0f6a0c337a80c141ea8e6c7a1d9c145be79 Issue introduced in 5.8 with commit 2ad2274c58ee2dcaf9ccde5c63ff30f59b138f77 and fixed in 7.2.8 with commit 9d83c08dcce808c732988a5291e3ef4f59d09edb Issue introduced in 5.8 with commit 2ad2274c58ee2dcaf9ccde5c63ff30f59b138f77 and fixed in 7.3-rc4 with commit cd54bf333f5631d3630bab0a832e9ae648f73515
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-98328
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/main.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/db19d5414227d86cee77a000607a6710d7f36853 https://git.kernel.org/stable/c/be7bfdea1ec9b672a80c736bd6ed932e1adebef8 https://git.kernel.org/stable/c/8659bd6c4c852096b6621086d1ea38eed84b454a https://git.kernel.org/stable/c/ad5bd0f6a0c337a80c141ea8e6c7a1d9c145be79 https://git.kernel.org/stable/c/9d83c08dcce808c732988a5291e3ef4f59d09edb https://git.kernel.org/stable/c/cd54bf333f5631d3630bab0a832e9ae648f73515