CVE-2026-46307

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*

History

23 Jul 2026, 08:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: wifi: ath5k: no acceder al array OOB Vincent informa: > El controlador ath5k parece realizar un acceso de índice de array fuera de límites como > mostrado por el mensaje del kernel de UBSAN: > UBSAN: índice de array fuera de límites en drivers/net/wireless/ath/ath5k/base.c:1741:20 > el índice 4 está fuera de rango para el tipo 'ieee80211_tx_rate [4]' > ... > Traza de Llamada: > <TAREA> > 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 Es real. 'ts->ts_final_idx' puede ser 3 en 5212, así que: info->status.rates[ts->ts_final_idx + 1].idx = -1; con el array definido como: struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES]; mientras que el tamaño es: #define IEEE80211_TX_MAX_RATES 4 es de hecho erróneo. Establecer este centinela 'idx = -1' solo si el índice del array es menor que el tamaño del array. Ya que mac80211 no buscará tasas más allá del tamaño (IEEE80211_TX_MAX_RATES). Nota: El efecto de la escritura OOB es insignificante. Simplemente sobrescribe el siguiente miembro de info->status, es decir, ack_signal.

08 Jul 2026, 14:47

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
CWE CWE-125
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/568173ad9bd0b46cc6cd937dea8791e9b5eefa57 - () https://git.kernel.org/stable/c/568173ad9bd0b46cc6cd937dea8791e9b5eefa57 - Patch
References () https://git.kernel.org/stable/c/744c19e266b0d2628c5951439195dcef27eadacf - () https://git.kernel.org/stable/c/744c19e266b0d2628c5951439195dcef27eadacf - Patch
References () https://git.kernel.org/stable/c/83226c71af53fb9b3cad40cb9a9a79f36d68c020 - () https://git.kernel.org/stable/c/83226c71af53fb9b3cad40cb9a9a79f36d68c020 - Patch
References () https://git.kernel.org/stable/c/9dd6aae4bc7bfa11088d928670a3315eae542769 - () https://git.kernel.org/stable/c/9dd6aae4bc7bfa11088d928670a3315eae542769 - Patch
References () https://git.kernel.org/stable/c/d6869537013b1f21b292342752d97868b79b5934 - () https://git.kernel.org/stable/c/d6869537013b1f21b292342752d97868b79b5934 - Patch
References () https://git.kernel.org/stable/c/d748603f12baff112caa3ab7d39f50100f010dbd - () https://git.kernel.org/stable/c/d748603f12baff112caa3ab7d39f50100f010dbd - Patch
References () https://git.kernel.org/stable/c/e9f1081bc775146156def0dbc821b92f35d56afb - () https://git.kernel.org/stable/c/e9f1081bc775146156def0dbc821b92f35d56afb - Patch
References () https://git.kernel.org/stable/c/ecb1c163166759dec004c1fdb9709b8a5992fc8e - () https://git.kernel.org/stable/c/ecb1c163166759dec004c1fdb9709b8a5992fc8e - Patch

14 Jun 2026, 06:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.3

08 Jun 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-08 17:16

Updated : 2026-07-23 08:10


NVD link : CVE-2026-46307

Mitre link : CVE-2026-46307

CVE.ORG link : CVE-2026-46307


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read