CVE-2024-56782
JSON

5.5medium

ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 99b572e6136eab69a8c91d72cf8595b256e304b5 before e173bce05f7032a8b4964cfef82a4b7668f5f3af, from 99b572e6136eab69a8c91d72cf8595b256e304b5 before 4a49194f587a62d972b602e3e1a2c3cfe6567966, 4af6a20d48342db472f9a865c037dfeea9104d0d, from 6.8.6 before 6.9, 6.9
Not affected: before 6.9, from 6.12.5 up to 6.12.*, from 6.13 up to *
CVE List
linux linux_kernelbefore 6.12.5NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ACPI: x86: Agregar comprobación de adev NULL a acpi_quirk_skip_serdev_enumeration() acpi_dev_hid_match() no comprueba si adev == NULL, lo desreferencia de forma incondicional. Agregue una comprobación para adev como NULL antes de llamar a acpi_dev_hid_match(). En este momento, acpi_quirk_skip_serdev_enumeration() nunca se llama con un controller_parent sin un compañero ACPI, pero más vale prevenir que curar.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-56782 changed 2026-05-23CVE Terms of Use
NVDCVE-2024-56782 changed 2026-06-17Public domain