CVE-2026-98329: wifi: mac80211: don't allow injecting frames wider than the chanctx
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: don't allow injecting frames wider than the chanctx
Frames injected on a monitor interface can carry a radiotap field requesting a bandwidth, which mac80211 passes down to the driver regardless of the the actual operational bandwidth.
If the bandwidth requested is too wide, that triggers a warning in hwsim:
WARN_ON(hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw))
Drop such frames entirely instead since they cannot be sent.
The Linux kernel CVE team has assigned CVE-2026-98329 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.7 with commit 646e76bb5daf4ca38438c69ffb72cccb605f3466 and fixed in 6.12.112 with commit a5c715eda066cba5ce3372759188ba8636dca629 Issue introduced in 4.7 with commit 646e76bb5daf4ca38438c69ffb72cccb605f3466 and fixed in 6.18.54 with commit 73f48f7e16cadfc74f444ccd10c1d3ae253e2e27 Issue introduced in 4.7 with commit 646e76bb5daf4ca38438c69ffb72cccb605f3466 and fixed in 7.2.8 with commit c69718519a81e87284494d0c6e6eb7bdd834707a Issue introduced in 4.7 with commit 646e76bb5daf4ca38438c69ffb72cccb605f3466 and fixed in 7.3-rc4 with commit e14bf37bb2b3853012ff160131d1c6233f7a9cc9
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-98329
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:
include/net/mac80211.h net/mac80211/iface.c net/mac80211/tx.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/a5c715eda066cba5ce3372759188ba8636dca629 https://git.kernel.org/stable/c/73f48f7e16cadfc74f444ccd10c1d3ae253e2e27 https://git.kernel.org/stable/c/c69718519a81e87284494d0c6e6eb7bdd834707a https://git.kernel.org/stable/c/e14bf37bb2b3853012ff160131d1c6233f7a9cc9