ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
In the Linux kernel, the following vulnerability has been resolved: ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration() acpi_dev_hid_match() does not check for adev == NULL, dereferencing it unconditional. Add a check for adev being NULL before calling acpi_dev_hid_match(). At the moment acpi_quirk_skip_serdev_enumeration() is never called with a controller_parent without an ACPI companion, but better safe than sorry.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.5
- CVEs
- CVE-2024-56782
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 20:54 UTC · Revision 1
Source evidence
ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
core-osv · Original sourcePublished 8 Jan 2025, 17:51 UTC
In the Linux kernel, the following vulnerability has been resolved: ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration() acpi_dev_hid_match() does not check for adev == NULL, dereferencing it unconditional. Add a check for adev being NULL before calling acpi_dev_hid_match(). At the moment acpi_quirk_skip_serdev_enumeration() is never called with a controller_parent without an ACPI companion, but better safe than sorry.
osv:CVE-2024-56782
Kernel
Fixed versions: 6.12.5
Complete source record
{
"id": "524bd469f1081ea26be496535a6055467446439d90d7f96760105cac4d6b8852",
"url": "https://osv.dev/vulnerability/CVE-2024-56782",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration() acpi_dev_hid_match() does not check for adev == NULL, dereferencing it unconditional. Add a check for adev being NULL before calling acpi_dev_hid_match(). At the moment acpi_quirk_skip_serdev_enumeration() is never called with a controller_parent without an ACPI companion, but better safe than sorry.",
"evidence": "osv:CVE-2024-56782",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2024-56782",
"aliases": [
"CVE-2024-56782"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "99b572e6136eab69a8c91d72cf8595b256e304b5"
},
{
"fixed": "e173bce05f7032a8b4964cfef82a4b7668f5f3af"
},
{
"fixed": "4a49194f587a62d972b602e3e1a2c3cfe6567966"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.8.6"
},
{
"fixed": "6.9"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4af6a20d48342db472f9a865c037dfeea9104d0d"
}
]
}
],
"versions": [
"v6.8.12",
"v6.8.11",
"v6.8.10",
"v6.8.9",
"v6.8.8",
"v6.8.7",
"v6.8.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56782.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.0"
},
{
"fixed": "6.12.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56782.json"
}
}
],
"modified": "2026-10-28T02:30:39.828128264Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/4a49194f587a62d972b602e3e1a2c3cfe6567966",
"https://git.kernel.org/stable/c/e173bce05f7032a8b4964cfef82a4b7668f5f3af",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56782.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-56782",
"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/56xxx/CVE-2024-56782.json"
}
},
"related_cves": [
{
"value": "CVE-2024-56782",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 506916,
"published_at": "2025-01-08T17:51:58.768+00:00"
}