CVE-2023-52594

wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()

State
Published
Severity
Not scored
Published
Mar 6, 2024
Updated
May 11, 2026
Reserved
Mar 2, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 27876a29de221186c9d5883e5fe5f6da18ef9a45 to before f44f073c78112ff921a220d01b86d09f2ace59bcAffected
  • 27876a29de221186c9d5883e5fe5f6da18ef9a45 to before f11f0fd1ad6c11ae7856d4325fe9d05059767225Affected
  • 27876a29de221186c9d5883e5fe5f6da18ef9a45 to before 84770a996ad8d7f121ff2fb5a8d149aad52d64c1Affected
  • 27876a29de221186c9d5883e5fe5f6da18ef9a45 to before 9003fa9a0198ce004b30738766c67eb7373479c9Affected
  • 27876a29de221186c9d5883e5fe5f6da18ef9a45 to before 25c6f49ef59b7a9b80a3f7ab9e95268a1b01a234Affected
  • 27876a29de221186c9d5883e5fe5f6da18ef9a45 to before e4f4bac7d3b64eb75f70cd3345712de6f68a215dAffected
  • 27876a29de221186c9d5883e5fe5f6da18ef9a45 to before be609c7002dd4504b15b069cb7582f4c778548d1Affected
  • 27876a29de221186c9d5883e5fe5f6da18ef9a45 to before 2adc886244dff60f948497b59affb6c6ebb3c348Affected
LinuxLinux
  • 3.0Affected
  • before 3.0Not affected
  • 4.19.307 through 4.19.*Not affected
  • 5.4.269 through 5.4.*Not affected
  • 5.10.210 through 5.10.*Not affected
  • 5.15.149 through 5.15.*Not affected
  • 6.1.77 through 6.1.*Not affected
  • 6.6.16 through 6.6.*Not affected
  • 6.7.4 through 6.7.*Not affected
  • 6.8 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.