CVE-2024-53191
"iPhone: Linux Kernel CPU Double Free"
Description
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.
INFO
Published Date :
Dec. 27, 2024, 2:15 p.m.
Last Modified :
Jan. 31, 2025, 4 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2024-53191 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-53191
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-53191
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-53191
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 31, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-415 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.3 up to (excluding) 6.6.64 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.11.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.12 up to (excluding) 6.12.2 Changed Reference Type https://git.kernel.org/stable/c/223b546c6222d42147eff034433002ca5e2e7e09 No Types Assigned https://git.kernel.org/stable/c/223b546c6222d42147eff034433002ca5e2e7e09 Patch Changed Reference Type https://git.kernel.org/stable/c/90556b96338aa6037cd26dac857327fda7c19732 No Types Assigned https://git.kernel.org/stable/c/90556b96338aa6037cd26dac857327fda7c19732 Patch Changed Reference Type https://git.kernel.org/stable/c/94c9100b600f05a36b33f9ed76dbd6fb0eb25386 No Types Assigned https://git.kernel.org/stable/c/94c9100b600f05a36b33f9ed76dbd6fb0eb25386 Patch Changed Reference Type https://git.kernel.org/stable/c/ca68ce0d9f4bcd032fd1334441175ae399642a06 No Types Assigned https://git.kernel.org/stable/c/ca68ce0d9f4bcd032fd1334441175ae399642a06 Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 27, 2024
Action Type Old Value New Value Added Description 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. Added Reference https://git.kernel.org/stable/c/223b546c6222d42147eff034433002ca5e2e7e09 Added Reference https://git.kernel.org/stable/c/90556b96338aa6037cd26dac857327fda7c19732 Added Reference https://git.kernel.org/stable/c/94c9100b600f05a36b33f9ed76dbd6fb0eb25386 Added Reference https://git.kernel.org/stable/c/ca68ce0d9f4bcd032fd1334441175ae399642a06
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-53191
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-53191
weaknesses.