HIGH Introduced in 3.3
mac80211 RateMetadata OOB
CVE-2026-98824
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
01Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: validate TX status rate metadata minstrel_ht_tx_status() converts the HT/VHT rate reported in a TX status into a group and rate index and uses those to index the minstrel_ht rate tables. The existing validation only checked that an entry was present and had tries recorded; it did not check that the reported MCS, spatial stream count and bandwidth are representable by the tables, so malformed metadata passed to minstrel_ht_get_stats() or minstrel_ht_ri_get_stats() could be used as an out-of-bounds index. Validate the rate metadata in the common TX status path instead of only in minstrel_ht, since the values are used by more than rate control. The legacy ieee80211_tx_rate array and the rate_info based entries are sanitized in ieee80211_tx_status_ext() and ieee80211_tx_rate_update() before any consumer runs: an entry that does not describe a valid rate for its encoding is dropped. minstrel_ht keeps the checks that depend on its own tables, i.e. the supported number of spatial streams, the MCS group size and the supported bandwidths. This does not take away the driver's responsibility to report sane values, it only prevents a single bad report from corrupting mac80211 state. No WARN_ON() is added: with panic_on_warn a driver bug would otherwise turn into a denial of service.
02KernelScan AI Analysis
Risk summary
A malformed TX status report from a WiFi driver can cause out-of-bounds array access in the minstrel_ht rate control algorithm, leading to kernel memory corruption. An unprivileged local user can trigger the vulnerable code path by generating WiFi traffic; a separate driver bug or malicious firmware is needed to produce the malformed metadata.
Vulnerability analysis
The WiFi subsystem's rate control algorithm processes transmission status reports from the wireless driver to track how well different data rates perform. It converts the reported rate information — such as the modulation scheme, number of spatial streams, and channel bandwidth — into array indices for its internal statistics tables. The original code only verified that a status entry existed and contained data, but did not check whether the reported rate parameters were valid combinations that the tables could represent. A driver supplying malformed rate metadata could therefore cause the kernel to read or write past the ends of these tables, corrupting kernel memory. The fix adds validation in the common status-handling path to discard any status entries with invalid rate parameters before they reach the rate control algorithm or other consumers, while keeping additional checks specific to the rate control tables. Triggering the flaw requires influencing the driver's transmission status reports, which an unprivileged user can do by sending network traffic; a buggy or compromised driver or firmware must then produce the malformed metadata.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 7.2 | 3.3 | 7.2.10 | b1961a61ab6f |
| mainline | 3.3 | 7.3 | 6bdcdb31318c |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Affected — no CIP fix yet (latest 6.12.114-cip34) |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |
| cip/4.19 | Affected — no CIP fix yet (latest 4.19.325-cip136) |
| cip/4.19-rt | Affected — no CIP fix yet (latest 4.19.325-cip136-rt50) |
| cip/4.4 | Affected — no CIP fix yet (latest 4.4.302-cip115) |
| cip/4.4-rt | Affected — no CIP fix yet (latest 4.4.302-cip115-rt63) |