CVE-2024-53191·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix warning when unbinding If there is an error during some initialization related to firmware, the buffers dp->tx_ring[i].tx_status are released. However this is released again when the device is unbinded (ath12k_pci), and we get: WARNING: CPU: 0 PID: 2098 at mm/slub.c:4689 free_large_kmalloc+0x4d/0x80 Call Trace: free_large_kmalloc ath12k_dp_free ath12k_core_deinit ath12k_pci_remove ... The issue is always reproducible from a VM because the MSI addressing initialization is failing. In order to fix the issue, just set the buffers to NULL after releasing in order to avoid the double free.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.2
- Published
- 2024-12-27
Affected versions
From: 6.12
Until: 6.12.2
Fixed in: 6.12.2
How to fix this CVE
Update your Linux kernel to version 6.12.2 or later to resolve a double-free memory corruption issue in the ath12k WiFi driver that occurs during device unbinding. This vulnerability can trigger kernel warnings and potential system instability when the ath12k wireless adapter is removed or experiences initialization failures. Apply the kernel update through your distribution's standard package manager and reboot your system.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r — compare against 6.12.0-6.12.1 range to identify vulnerability
- Verify ath12k WiFi driver is loaded: lsmod | grep ath12k — if present, your system is affected
- Search kernel logs for the specific double-free warning: dmesg | grep -A5 'free_large_kmalloc' — exploitation indicators appear as WARNING messages from mm/slub.c
- After updating to 6.12.2+, rerun uname -r and verify dmesg shows no recurrence of the free_large_kmalloc warnings during device binding/unbinding
FAQ
What is CVE-2024-53191?
This vulnerability is a double-free memory corruption flaw in the Linux kernel's ath12k WiFi driver that occurs when the device is unbound after a firmware initialization error, causing the same memory buffer to be freed twice and triggering kernel warnings.
Is CVE-2024-53191 being actively exploited?
No, CVE-2024-53191 is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-53191?
Kernel versions 6.12.0 through 6.12.1 are vulnerable; the vulnerability is fixed in version 6.12.2 and later.
How do I check if my server is vulnerable to CVE-2024-53191?
Run 'uname -r' to check your kernel version — if it shows 6.12.0 or 6.12.1 and 'lsmod | grep ath12k' returns results, your system is vulnerable.
Does Defensia detect CVE-2024-53191?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-53191 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-53191. Free for 1 server.
Get started free