# CVE-2024-43818: ASoC: amd: Adjust error handling in case of absent codec device

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-08-17T09:21:40.341Z
- Modified: 2026-06-17T07:51:46.407Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 02527c3f2300100a25524c8c020d98c7957e485e before 1ba9856cf7f6492b47c1edf853137f320d583db5; from 02527c3f2300100a25524c8c020d98c7957e485e before 99b642dac24f6d09ba3ebf1d690be8aefff86164; from 02527c3f2300100a25524c8c020d98c7957e485e before b1173d64edd276c957b6d09e1f971c85b38f1519; from 02527c3f2300100a25524c8c020d98c7957e485e before 5080808c3339de2220c602ab7c7fa23dc6c1a5a3; 6.0 (not affected: before 6.0; from 6.1.103 up to 6.1.*; from 6.6.44 up to 6.6.*; from 6.10.3 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 6.0 before 6.1.103; from 6.2 before 6.6.44; from 6.7 before 6.10.3

## References

- <https://git.kernel.org/stable/c/1ba9856cf7f6492b47c1edf853137f320d583db5> (patch)
- <https://git.kernel.org/stable/c/99b642dac24f6d09ba3ebf1d690be8aefff86164> (patch)
- <https://git.kernel.org/stable/c/b1173d64edd276c957b6d09e1f971c85b38f1519> (patch)
- <https://git.kernel.org/stable/c/5080808c3339de2220c602ab7c7fa23dc6c1a5a3> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-43818](https://www.cve.org/CVERecord?id=CVE-2024-43818), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-43818](https://nvd.nist.gov/vuln/detail/CVE-2024-43818), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43818 · Whole record: https://cve.day/CVE-2024-43818.json · Rebuilt by cve.day 2026-11-25T22:58:44.488Z
