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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-01-08T17:51:58.768Z
- Modified: 2026-06-17T08:12:58.887Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: before 6.12.5

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e173bce05f7032a8b4964cfef82a4b7668f5f3af> (patch)
- <https://git.kernel.org/stable/c/4a49194f587a62d972b602e3e1a2c3cfe6567966> (patch)

## Sources

- CVE List: [CVE-2024-56782](https://www.cve.org/CVERecord?id=CVE-2024-56782), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-56782](https://nvd.nist.gov/vuln/detail/CVE-2024-56782), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56782 · Whole record: https://cve.day/CVE-2024-56782.json · Rebuilt by cve.day 2026-11-25T22:58:50.823Z
