7.8high
wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus() Fix an array-index-out-of-bounds read in ath9k_htc_txstatus(). The bug occurs when txs->cnt, data from a URB provided by a USB device, is bigger than the size of the array txs->txstatus, which is HTC_MAX_TX_STATUS. WARN_ON() already checks it, but there is no bug handling code after the check. Make the function return if that is the case. Found by a modified version of syzkaller. UBSAN: array-index-out-of-bounds in htc_drv_txrx.c index 13 is out of range for type '__wmi_event_txstatus [12]' Call Trace: ath9k_htc_txstatus ath9k_wmi_event_tasklet tasklet_action_common __do_softirq irq_exit_rxu sysvec_apic_timer_interrupt
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 27876a29de221186c9d5883e5fe5f6da18ef9a45 before f44f073c78112ff921a220d01b86d09f2ace59bc, from 27876a29de221186c9d5883e5fe5f6da18ef9a45 before f11f0fd1ad6c11ae7856d4325fe9d05059767225, from 27876a29de221186c9d5883e5fe5f6da18ef9a45 before 84770a996ad8d7f121ff2fb5a8d149aad52d64c1, from 27876a29de221186c9d5883e5fe5f6da18ef9a45 before 9003fa9a0198ce004b30738766c67eb7373479c9, from 27876a29de221186c9d5883e5fe5f6da18ef9a45 before 25c6f49ef59b7a9b80a3f7ab9e95268a1b01a234, from 27876a29de221186c9d5883e5fe5f6da18ef9a45 before e4f4bac7d3b64eb75f70cd3345712de6f68a215d, from 27876a29de221186c9d5883e5fe5f6da18ef9a45 before be609c7002dd4504b15b069cb7582f4c778548d1, from 27876a29de221186c9d5883e5fe5f6da18ef9a45 before 2adc886244dff60f948497b59affb6c6ebb3c348 and 1 more Not affected: before 3.0, from 4.19.307 up to 4.19.*, from 5.4.269 up to 5.4.*, from 5.10.210 up to 5.10.*, from 5.15.149 up to 5.15.*, from 6.1.77 up to 6.1.* | CVE List |
| linux linux_kernel | before 4.19.307, from 4.20 before 5.4.269, from 5.5 before 5.10.210, from 5.11 before 5.15.149, from 5.16 before 6.1.77, from 6.2 before 6.6.16, from 6.7 before 6.7.4 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus() Fix an array-index-out-of-bounds read in ath9k_htc_txstatus(). The bug occurs when txs->cnt, data from a URB provided by a USB device, is bigger than the size of the array txs->txstatus, which is HTC_MAX_TX_STATUS. WARN_ON() already checks it, but there is no bug handling code after the check. Make the function return if that is the case. Found by a modified version of syzkaller. UBSAN: array-index-out-of-bounds in htc_drv_txrx.c index 13 is out of range for type '__wmi_event_txstatus [12]' Call Trace: ath9k_htc_txstatus ath9k_wmi_event_tasklet tasklet_action_common __do_softirq irq_exit_rxu sysvec_apic_timer_interrupt
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: ath9k: corrige una posible lectura de índice de matriz fuera de los límites en ath9k_htc_txstatus(). Corrige una lectura de índice de matriz fuera de los límites en ath9k_htc_txstatus(). El error ocurre cuando txs->cnt, los datos de una URB proporcionados por un dispositivo USB, son mayores que el tamaño de la matriz txs->txstatus, que es HTC_MAX_TX_STATUS. WARN_ON() ya lo verifica, pero no hay ningún código de manejo de errores después de la verificación. Haga que la función regrese si ese es el caso. Encontrado por una versión modificada de syzkaller. UBSAN: Array-Index-Of-Bunds en htc_drv_txrx.c El índice 13 está fuera de rango para el tipo '__WMI_EVENT_TXSTATUS [12]' LLAME TRACE: ATH9K_HTC_TXSTATUS ATH9K_WMI_EVENT_TASKLET_ACTION_ACTION_COMNOMON __DO_SOFTIRQ IRQITITI
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52594 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52594 changed 2026-06-17 | Public domain |