CVE-2024-53188
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
27/12/2024
Last modified:
15/01/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
wifi: ath12k: fix crash when unbinding<br />
<br />
If there is an error during some initialization related to firmware,<br />
the function ath12k_dp_cc_cleanup is called to release resources.<br />
However this is released again when the device is unbinded (ath12k_pci),<br />
and we get:<br />
BUG: kernel NULL pointer dereference, address: 0000000000000020<br />
at RIP: 0010:ath12k_dp_cc_cleanup.part.0+0xb6/0x500 [ath12k]<br />
Call Trace:<br />
ath12k_dp_cc_cleanup<br />
ath12k_dp_free<br />
ath12k_core_deinit<br />
ath12k_pci_remove<br />
...<br />
<br />
The issue is always reproducible from a VM because the MSI addressing<br />
initialization is failing.<br />
<br />
In order to fix the issue, just set to NULL the released structure in<br />
ath12k_dp_cc_cleanup at the end.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.3 (including) | 6.6.64 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.11.11 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.12 (including) | 6.12.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page