CVE-2024-56782

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

State
Published
Severity
5.5 Medium
Published
Jan 8, 2025
Updated
May 23, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 99b572e6136eab69a8c91d72cf8595b256e304b5 to before e173bce05f7032a8b4964cfef82a4b7668f5f3afAffected
  • 99b572e6136eab69a8c91d72cf8595b256e304b5 to before 4a49194f587a62d972b602e3e1a2c3cfe6567966Affected
  • 4af6a20d48342db472f9a865c037dfeea9104d0dAffected
  • 6.8.6 to before 6.9Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.12.5 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.