CVE-2023-52594

Source
https://cve.org/CVERecord?id=CVE-2023-52594
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52594.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52594
Downstream
Related
Published
2024-03-06T06:45:25.071Z
Modified
2026-04-11T12:46:33.495785Z
Summary
wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

Fix an array-index-out-of-bounds read in ath9khtctxstatus(). 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 HTCMAXTXSTATUS. WARNON() 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 htcdrvtxrx.c index 13 is out of range for type '__wmieventtxstatus [12]' Call Trace: ath9k_htctxstatus ath9kwmieventtasklet taskletactioncommon __dosoftirq irqexitrxu sysvecapictimerinterrupt

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52594.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
27876a29de221186c9d5883e5fe5f6da18ef9a45
Fixed
f44f073c78112ff921a220d01b86d09f2ace59bc
Fixed
f11f0fd1ad6c11ae7856d4325fe9d05059767225
Fixed
84770a996ad8d7f121ff2fb5a8d149aad52d64c1
Fixed
9003fa9a0198ce004b30738766c67eb7373479c9
Fixed
25c6f49ef59b7a9b80a3f7ab9e95268a1b01a234
Fixed
e4f4bac7d3b64eb75f70cd3345712de6f68a215d
Fixed
be609c7002dd4504b15b069cb7582f4c778548d1
Fixed
2adc886244dff60f948497b59affb6c6ebb3c348

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52594.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
4.19.307
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.269
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.210
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.149
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.77
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.16
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52594.json"