CVE-2024-53191: wifi: ath12k: fix warning when unbinding
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->txring[i].txstatus are released. However this is released again when the device is unbinded (ath12kpci), and we get: WARNING: CPU: 0 PID: 2098 at mm/slub.c:4689 freelargekmalloc+0x4d/0x80 Call Trace: freelargekmalloc ath12kdpfree ath12kcoredeinit ath12kpciremove ...
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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-53191?
The severity of CVE-2024-53191 is categorized as a low severity issue affecting the Linux kernel.
How do I fix CVE-2024-53191?
To fix CVE-2024-53191, it is recommended to update the Linux kernel to the latest version that includes the patch for this vulnerability.
Which versions of the Linux kernel are affected by CVE-2024-53191?
CVE-2024-53191 affects the Linux kernel versions between 6.3 and 6.6.64, as well as versions between 6.7 and 6.11.11, and from 6.12 to 6.12.2.
What type of vulnerability is CVE-2024-53191?
CVE-2024-53191 is a vulnerability related to the handling of buffer management in the ath12k Wi-Fi driver within the Linux kernel.
Is CVE-2024-53191 a hardware or software vulnerability?
CVE-2024-53191 is a software vulnerability that occurs in the Linux kernel related to the Wi-Fi driver.