NULL pointer dereference in Linux
CVE-2024-43818
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 13.3th percentile
- Published
- 2024-08-17
In the Linux kernel, the following vulnerability has been resolved:
ASoC: amd: Adjust error handling in case of absent codec device
acpi_get_first_physical_node() can return NULL in several cases (no such
device, ACPI table error, reference count drop to 0, etc).
Existing check just emit error message, but doesn't perform return.
Then this NULL pointer is passed to devm_acpi_dev_add_driver_gpios()
where it is dereferenced.
Adjust this error handling by adding error code return.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 13.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 02527c3f2300100a25524c8c020d98c7957e485e, 6.0, 0
- Linux Kernel
Weakness classification (CWE)
References
- git.kernel.org/stable/c/1ba9856cf7f6492b47c1edf853137f320d583db5 (Patch)
- git.kernel.org/stable/c/99b642dac24f6d09ba3ebf1d690be8aefff86164 (Patch)
- git.kernel.org/stable/c/b1173d64edd276c957b6d09e1f971c85b38f1519 (Patch)
- git.kernel.org/stable/c/5080808c3339de2220c602ab7c7fa23dc6c1a5a3 (Patch)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html