CVE-2024-56782
ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
Summary
ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
Original description
The description as published by the source.
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 packages
Linux
Kernel
[{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"6.12.5"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- BellSoft Alpaquita BELL-CVE-2024-56782 linux-lts Fixed in: 6.12.41-r0
- Debian DEBIAN-CVE-2024-56782 linux Fixed in: 6.12.5-1
- Ubuntu UBUNTU-CVE-2024-56782 linux
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org