CVE-2026-98703: wifi: mac80211: minstrel_ht: validate fixed rate index
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: minstrel_ht: validate fixed rate index
The fixed_rate_idx debugfs file is a plain u32 attribute, so any value can be written to it. minstrel_ht_update_stats() then copies the value into mi->max_tp_rate[] and mi->max_prob_rate, and minstrel_ht_set_rate() uses MI_RATE_GROUP()/MI_RATE_IDX() to index minstrel_mcs_groups[] (42 entries) and mi->groups[].rates[] (10 entries) with it.
Writing e.g. 65535 selects group 4095 and rate index 15, far outside both arrays. The out-of-bounds entries are dereferenced and updated as struct minstrel_rate_stats (retry counts, etc.), so the invalid index corrupts adjacent kernel memory. With CONFIG_UBSAN_BOUNDS the access is reported as an array-index-out-of-bounds in minstrel_ht_set_rate().
Only a valid group/rate pair, or U32_MAX to disable fixed rate processing, can be used safely, so reject any other value when the debugfs file is written.
The file is only reachable through a root-only debugfs mount, so this is not a privilege boundary. The out-of-bounds access is still a bug that must not be reachable through a writable debugfs attribute.
The Linux kernel CVE team has assigned CVE-2026-98703 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.1 with commit 24f7580e852b5472b51eea322bb78454df0054b8 and fixed in 6.12.113 with commit f8ab6ae1fa360b0191252677f41e781dcb0ffe6e Issue introduced in 3.1 with commit 24f7580e852b5472b51eea322bb78454df0054b8 and fixed in 6.18.56 with commit 42aa9feb27b600809414a3c6b0c650bafba542a9 Issue introduced in 3.1 with commit 24f7580e852b5472b51eea322bb78454df0054b8 and fixed in 7.2.10 with commit 43082d604a9937b94ceb2e484403956d0f363324 Issue introduced in 3.1 with commit 24f7580e852b5472b51eea322bb78454df0054b8 and fixed in 7.3-rc6 with commit 15fb9e3cea55fbc378261ce35a32b0f8828f0000
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-98703
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/rc80211_minstrel_ht.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/f8ab6ae1fa360b0191252677f41e781dcb0ffe6e https://git.kernel.org/stable/c/42aa9feb27b600809414a3c6b0c650bafba542a9 https://git.kernel.org/stable/c/43082d604a9937b94ceb2e484403956d0f363324 https://git.kernel.org/stable/c/15fb9e3cea55fbc378261ce35a32b0f8828f0000