Skip to content

CVE-2024-56782 ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()

MediumCVSS 5.5 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Linux KernelUbuntuDebian

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.

Upgrade path

8 packages: 5 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
azure linux kernel(Azure Linux 3.0) All versions No fix listed No fix yet
cbl-mariner kernel(CBL-Mariner 2.0) All versions No fix listed No fix yet
Microsoft cbl2 kernel 5.15.202.1-1 All versions No fix listed No fix yet
debian/linux(Debian 13) < 6.12.5-1 6.12.5-1 Fixed
debian/linux(Debian 14) < 6.12.5-1 6.12.5-1 Fixed
Linux kernel < 6.12.5; < 6.13; = 4af6a20d48342db472f9a865c037dfeea9104d0d; = 6.9 +3 more 4a49194f587a62d972b602e3e1a2c3cfe6567966, 6.9, 6.12.5, 6.13, e173bce05f7032a8b4964cfef82a4b7668f5f3af Fixed
ubuntu/linux(Ubuntu 24.04) < 6.8.0-58.60 6.8.0-58.60 Fixed
ubuntu/linux-raspi(Ubuntu 24.04) < 6.8.0-1028.32 6.8.0-1028.32 Fixed

Affected products

ProductAffected versionsFixed in
cbl-mariner kernel(CBL-Mariner:2.0) All versions No fix listed
azure linux kernel(Azure Linux:3.0) All versions No fix listed
Microsoft cbl2 kernel 5.15.202.1-1 All versions No fix listed
debian/linux(Debian:13) < 6.12.5-1 6.12.5-1
debian/linux(Debian:14) < 6.12.5-1 6.12.5-1
Linux kernel >= 99b572e6136eab69a8c91d72cf8595b256e304b5, < e173bce05f7032a8b4964cfef82a4b7668f5f3af e173bce05f7032a8b4964cfef82a4b7668f5f3af
Linux kernel >= 99b572e6136eab69a8c91d72cf8595b256e304b5, < 4a49194f587a62d972b602e3e1a2c3cfe6567966 4a49194f587a62d972b602e3e1a2c3cfe6567966
Linux kernel = 4af6a20d48342db472f9a865c037dfeea9104d0d No fix listed
Linux kernel >= 6.8.6, < 6.9 6.9
Linux kernel = 6.9 No fix listed
Linux kernel < 6.12.5 6.12.5
Linux kernel < 6.13 6.13
ubuntu/linux(Ubuntu:24.04) < 6.8.0-58.60 6.8.0-58.60
ubuntu/linux-raspi(Ubuntu:24.04) < 6.8.0-1028.32 6.8.0-1028.32

References