CVE-2023-52594·Kernel vulnerability
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
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.7.4
- Published
- 2024-03-06
Affected versions
From: 6.7
Until: 6.7.4
Fixed in: 6.7.4
How to fix this CVE
Update your Linux kernel to version 6.7.4 or later to patch an array bounds checking vulnerability in the ath9k WiFi driver. This vulnerability allows out-of-bounds memory reads when processing malformed USB device data. Systems using Qualcomm Atheros 9k WiFi hardware should prioritize this update to prevent potential information disclosure.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and verify if it falls in the range 6.7.0-6.7.3
- Step 2: Confirm ath9k driver is loaded with `lsmod | grep ath9k` and check for connected Qualcomm Atheros USB WiFi devices with `lsusb | grep Atheros`
- Step 3: Search system logs for UBSAN warnings with `dmesg | grep -i 'array-index-out-of-bounds\|ath9k_htc_txstatus'` or `journalctl -e | grep -i 'htc_drv_txrx'`
- Step 4: After applying kernel updates, reboot and run `uname -r` to confirm version is 6.7.4 or higher, then verify driver still loads with `lsmod | grep ath9k`
FAQ
What is CVE-2023-52594?
This vulnerability is an array bounds checking flaw in the ath9k_htc WiFi driver that permits reading beyond allocated memory when processing untrusted data from USB WiFi devices, potentially exposing kernel memory contents.
Is CVE-2023-52594 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available. However, the flaw requires only local access and a malicious USB device to trigger.
What versions of Kernel are affected by CVE-2023-52594?
Linux kernel versions 6.7.0 through 6.7.3 are vulnerable. The fix was implemented in kernel 6.7.4 and backported to stable branches. Earlier versions (6.6.x and below) are not affected by this specific issue.
How do I check if my server is vulnerable to CVE-2023-52594?
Run `uname -r` to check your kernel version; if it shows 6.7.0 through 6.7.3, you are vulnerable. Then verify the affected driver is present with `lsmod | grep ath9k_htc` or `lsmod | grep ath9k`.
Does Defensia detect CVE-2023-52594?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2023-52594 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/25c6f49ef59b7a9b80a3f7ab9e95268a1b01a234
- https://git.kernel.org/stable/c/2adc886244dff60f948497b59affb6c6ebb3c348
- https://git.kernel.org/stable/c/84770a996ad8d7f121ff2fb5a8d149aad52d64c1
- https://git.kernel.org/stable/c/9003fa9a0198ce004b30738766c67eb7373479c9
- https://git.kernel.org/stable/c/be609c7002dd4504b15b069cb7582f4c778548d1
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52594. Free for 1 server.
Get started free