CVE-2026-46307

wifi: ath5k: do not access array OOB

State
Published
Severity
8.3 High
Published
Jun 8, 2026
Updated
Oct 15, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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 'ieee80211_tx_rate [4]' > ... > Call Trace: > <TASK> > dump_stack_lvl+0x5d/0x80 > ubsan_epilogue+0x5/0x2b > __ubsan_handle_out_of_bounds.cold+0x46/0x4b > ath5k_tasklet_tx+0x4e0/0x560 [ath5k] > tasklet_action_common+0xb5/0x1c0

It is real. 'ts->ts_final_idx' can be 3 on 5212, so: info->status.rates[ts->ts_final_idx + 1].idx = -1; with the array defined as: struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES]; while the size is: #define IEEE80211_TX_MAX_RATES 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 (IEEE80211_TX_MAX_RATES).

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

Scores

CVSSScoreVectorSource
3.18.3 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:LLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6d7b97b23e114c8fbb825e6721164d228c1af3fc to before ecb1c163166759dec004c1fdb9709b8a5992fc8eAffected
  • 6d7b97b23e114c8fbb825e6721164d228c1af3fc to before 9dd6aae4bc7bfa11088d928670a3315eae542769Affected
  • 6d7b97b23e114c8fbb825e6721164d228c1af3fc to before 744c19e266b0d2628c5951439195dcef27eadacfAffected
  • 6d7b97b23e114c8fbb825e6721164d228c1af3fc to before 83226c71af53fb9b3cad40cb9a9a79f36d68c020Affected
  • 6d7b97b23e114c8fbb825e6721164d228c1af3fc to before d6869537013b1f21b292342752d97868b79b5934Affected
  • 6d7b97b23e114c8fbb825e6721164d228c1af3fc to before e9f1081bc775146156def0dbc821b92f35d56afbAffected
  • 6d7b97b23e114c8fbb825e6721164d228c1af3fc to before 568173ad9bd0b46cc6cd937dea8791e9b5eefa57Affected
  • 6d7b97b23e114c8fbb825e6721164d228c1af3fc to before d748603f12baff112caa3ab7d39f50100f010dbdAffected
LinuxLinux
  • 3.0Affected
  • before 3.0Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.88 through 6.12.*Not affected
  • 6.18.30 through 6.18.*Not affected
  • 7.0.7 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.