CVE-2024-58015·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix for out-of bound access error Selfgen stats are placed in a buffer using print_array_to_buf_index() function. Array length parameter passed to the function is too big, resulting in possible out-of bound memory error. Decreasing buffer size by one fixes faulty upper bound of passed array. Discovered in coverity scan, CID 1600742 and CID 1600758
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.13.3
- Published
- 2025-02-27
Affected versions
From: 6.3
Until: 6.13.3
Fixed in: 6.13.3
How to fix this CVE
Update your Linux kernel to version 6.13.3 or later to patch a memory bounds-checking vulnerability in the ath12k WiFi driver. This issue affects kernel versions 6.3 through 6.13.2 and could allow local privileged users to trigger kernel memory access violations. Apply the patch immediately if you are running an affected kernel version on systems with Qualcomm WiFi hardware.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if ath12k driver is loaded: lsmod | grep ath12k
- Check kernel logs for memory access errors: sudo dmesg | grep -i 'out of bounds\|ath12k.*error\|general protection'
- Confirm patched version is running after reboot: uname -r (should be 6.13.3 or later)
FAQ
What is CVE-2024-58015?
CVE-2024-58015 is a memory bounds-checking vulnerability in the ath12k WiFi driver within the Linux kernel. The driver incorrectly calculates buffer boundaries when writing selfgen statistics, potentially allowing out-of-bounds memory access by local users with elevated privileges.
Is CVE-2024-58015 being actively exploited?
No, according to CISA's Known Exploited Vulnerabilities (KEV) catalog, CVE-2024-58015 is not currently being actively exploited in the wild, and no public exploit code is available.
What versions of Kernel are affected by CVE-2024-58015?
Linux kernel versions 6.3 through 6.13.2 are affected. Kernel 6.13.3 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2024-58015?
Run 'uname -r' to check your kernel version; if it shows 6.3-6.13.2, you are vulnerable. Additionally, run 'lsmod | grep ath12k' to confirm the affected driver is loaded on your system.
Does Defensia detect CVE-2024-58015?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-58015 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-58015. Free for 1 server.
Get started free