ASoC: amd: Adjust error handling in case of absent codec device
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.103, 6.10.3, 6.6.44
- CVEs
- CVE-2024-43818
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 13:28 UTC · Revision 1
Source evidence
ASoC: amd: Adjust error handling in case of absent codec device
core-osv · Original sourcePublished 17 Aug 2024, 09:21 UTC
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.
osv:CVE-2024-43818
Kernel
Fixed versions: 6.1.103, 6.6.44, 6.10.3
Complete source record
{
"id": "c8ea417a148daaa5ca20c5c737ebcbfde6195b651bc844b05ce81c6fff2fd96d",
"url": "https://osv.dev/vulnerability/CVE-2024-43818",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ASoC: amd: Adjust error handling in case of absent codec device",
"summary": "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.",
"evidence": "osv:CVE-2024-43818",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.103",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.44",
"evidence": "/affected/1/ranges"
},
{
"value": "6.10.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-43818",
"aliases": [
"CVE-2024-43818"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "02527c3f2300100a25524c8c020d98c7957e485e"
},
{
"fixed": "1ba9856cf7f6492b47c1edf853137f320d583db5"
},
{
"fixed": "99b642dac24f6d09ba3ebf1d690be8aefff86164"
},
{
"fixed": "b1173d64edd276c957b6d09e1f971c85b38f1519"
},
{
"fixed": "5080808c3339de2220c602ab7c7fa23dc6c1a5a3"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43818.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.1.103"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.44"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.10.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43818.json"
}
}
],
"modified": "2026-10-28T02:30:36.065424932Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1ba9856cf7f6492b47c1edf853137f320d583db5",
"https://git.kernel.org/stable/c/5080808c3339de2220c602ab7c7fa23dc6c1a5a3",
"https://git.kernel.org/stable/c/99b642dac24f6d09ba3ebf1d690be8aefff86164",
"https://git.kernel.org/stable/c/b1173d64edd276c957b6d09e1f971c85b38f1519",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43818.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-43818",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43818.json"
}
},
"related_cves": [
{
"value": "CVE-2024-43818",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 503128,
"published_at": "2024-08-17T09:21:40.341+00:00"
}