In the Linux kernel, the following vulnerability has been resolved:
wifi: ath5k: do not access array OOB
Vincent reports:
The ath5k driver seems to do an array-index-out-of-bounds access as shown by the UBSAN kernel message: UBSAN: array-index-out-of-bounds in drivers/net/wireless/ath/ath5k/base.c:1741:20 index 4 is out of range for type 'ieee80211txrate [4]' ... Call Trace: <TASK> dumpstacklvl+0x5d/0x80 ubsan_epilogue+0x5/0x2b __ubsanhandleoutofbounds.cold+0x46/0x4b ath5ktasklettx+0x4e0/0x560 [ath5k] taskletactioncommon+0xb5/0x1c0
It is real. 'ts->tsfinalidx' can be 3 on 5212, so: info->status.rates[ts->tsfinalidx + 1].idx = -1; with the array defined as: struct ieee80211txrate rates[IEEE80211TXMAXRATES]; while the size is: #define IEEE80211TXMAXRATES 4 is indeed bogus.
Set this 'idx = -1' sentinel only if the array index is less than the array size. As mac80211 will not look at rates beyond the size (IEEE80211TXMAX_RATES).
Note: The effect of the OOB write is negligible. It just overwrites the next member of info->status, i.e. ack_signal.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46307.json",
"cna_assigner": "Linux"
}