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

Medium 5.5 Published Updated

A missing NULL check in the Linux kernel ACPI subsystem can cause a null pointer dereference, leading to a system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-56782?

CVE-2024-56782 is a medium-severity vulnerability in Linux kernel, published on 8 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2024-56782?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-56782?

Apply the vendor's patch.

Is CVE-2024-56782 being exploited?

There is no known exploitation of CVE-2024-56782 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-55361, AZL-55376, BELL-CVE-2024-56782, DEBIAN-CVE-2024-56782, GHSA-f4vg-m386-rcvq, ROOT-OS-DEBIAN-11-CVE-2024-56782 and 3 more.

Is CVE-2024-56782 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free