CVE-2026-142844: wifi: mt76: mt76x02: validate TX-status rate index before mac80211 handoff
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt76x02: validate TX-status rate index before mac80211 handoff
mt76x02macprocesstxrate() extracts the rate index straight from the hardware's raw TX-status word with no bounds check for the HT/HTGF/VHT cases, and mt76x02macfilltxstatus() ignores its return value. A stale or corrupt hardware index reaches mac80211's minstrelht rate control, whose per-group rate array is a fixed 10 entries (MCSGROUPRATES), causing an out-of-bounds write.
Validate the index in mt76x02macprocesstxrate() (HT: 0-31, VHT: MCS nibble 0-9) and have mt76x02macfilltxstatus() bail out cleanly on failure instead of passing an invalid index through.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In mt76x02_mac_process_tx_rate(), validate the TX-status rate index before handing it to mac80211: accept HT indices 0–31 and VHT MCS nibble values 0–9, and make mt76x02_mac_fill_tx_status() bail out cleanly when validation fails.
Event History
Frequently Asked Questions
Which systems are exposed to the out-of-bounds write?
Systems using the Linux kernel's mt76x02 Wi-Fi driver are exposed when TX status is processed through mac80211's minstrel_ht rate control. The affected path concerns HT, HT_GF, and VHT TX-status rate indices.
What condition triggers the issue?
A stale or corrupt hardware TX-status word must contain an invalid rate index. Before the fix, that index could be forwarded to mac80211, where it can write beyond the fixed 10-entry per-group rate array.
How can I determine whether a kernel contains the fix?
Check the mt76x02 TX-status handling code for validation of HT indices in the 0-31 range and VHT MCS values in the 0-9 range. The TX-status fill path should also stop processing when rate-index validation fails rather than passing the invalid value to mac80211.