CVE-2024-49931·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix array out-of-bound access in SoC stats Currently, the ath12k_soc_dp_stats::hal_reo_error array is defined with a maximum size of DP_REO_DST_RING_MAX. However, the ath12k_dp_rx_process() function access ath12k_soc_dp_stats::hal_reo_error using the REO destination SRNG ring ID, which is incorrect. SRNG ring ID differ from normal ring ID, and this usage leads to out-of-bounds array access. To fix this issue, modify ath12k_dp_rx_process() to use the normal ring ID directly instead of the SRNG ring ID to avoid out-of-bounds array access. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.3
- Published
- 2024-10-21
Affected versions
From: 6.11
Until: 6.11.3
Fixed in: 6.11.3
How to fix this CVE
Update your Linux kernel to version 6.11.3 or later to patch an array indexing vulnerability in the ath12k WiFi driver's statistics collection. This flaw could cause kernel memory access violations on systems using Qualcomm WiFi hardware. Apply the latest stable kernel updates from your distribution's repository immediately.
sudo dnf upgrade kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with `uname -r` and compare against 6.11.3 — versions 6.11.0 through 6.11.2 are vulnerable
- Step 2: Verify if ath12k driver is loaded with `lsmod | grep ath12k` — if present, the system uses affected WiFi hardware
- Step 3: Search kernel logs for REO statistics errors with `dmesg | grep -i 'reo\|ath12k' | tail -50` to identify any out-of-bounds access attempts
- Step 4: After patching, reboot the system with `sudo reboot` and confirm the new kernel version with `uname -r` to ensure the fix is active
FAQ
What is CVE-2024-49931?
This vulnerability is an array bounds violation in the ath12k WiFi driver where REO (REO Destination ring) SRNG ring IDs are incorrectly used as direct indices into a statistics array, causing out-of-bounds memory access.
Is CVE-2024-49931 being actively exploited?
No. There is no evidence of active exploitation in the wild, and no public exploit code has been released. The vulnerability requires local system access to trigger.
What versions of Kernel are affected by CVE-2024-49931?
Linux kernel versions 6.11.0 through 6.11.2 are vulnerable. The fix is included in kernel 6.11.3 and all later releases.
How do I check if my server is vulnerable to CVE-2024-49931?
Run `uname -r` and check if the version is between 6.11.0 and 6.11.2, then verify ath12k driver presence with `lsmod | grep ath12k`. If both conditions are true, your system is vulnerable.
Does Defensia detect CVE-2024-49931?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-49931 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-49931. Free for 1 server.
Get started free