CVE-2026-46307: wifi: ath5k: do not access array OOB

Published Jun 8, 2026
·
Updated

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 ubsanepilogue+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 (IEEE80211TXMAXRATES).

Note: The effect of the OOB write is negligible. It just overwrites the next member of info->status, i.e. acksignal.

Affected Software

11 affected componentsFixes available
Linux ath5k
Microsoft azl3 kernel 6.6.139.1-1<6.6.141.1-1
6.6.141.1-1
Linux Linux kernel>=3.0<5.10.258
Linux Linux kernel>=5.11<5.15.209
Linux Linux kernel>=5.16<6.1.175
Linux Linux kernel>=6.2<6.6.140
Linux Linux kernel>=6.7<6.12.88
Linux Linux kernel>=6.13<6.18.30
Linux Linux kernel>=6.19<7.0.7
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.141.1-1
  2. Configuration

    Fix the array-index-out-of-bounds by only setting the 'idx = -1' sentinel when the computed array index is within bounds: set sentinel at info->status.rates[ts->ts_final_idx + 1].idx = -1 only if (ts->ts_final_idx + 1) is less than the array size of struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES] (IEEE80211_TX_MAX_RATES == 4).

    ath5k (Linux kernel: drivers/net/wireless/ath/ath5k) info->status.rates[ts->ts_final_idx + 1].idx sentinel handling = -1

Event History

Jun 8, 2026
CVE Published
via MITRE·03:46 PM
Data Sourced
via MITRE·03:46 PM
DescriptionSeverity
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 10, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-46307?

CVE-2026-46307 has a severity rating of 10, indicating it is critical.

2

What does CVE-2026-46307 affect?

CVE-2026-46307 affects the ath5k wireless driver in the Linux kernel.

3

What type of vulnerability is CVE-2026-46307?

CVE-2026-46307 is an array-index-out-of-bounds vulnerability.

4

How do I fix CVE-2026-46307?

To fix CVE-2026-46307, ensure your Linux kernel and ath5k driver are updated to the latest patched version.

5

When was CVE-2026-46307 published?

CVE-2026-46307 was published on June 8, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203