# CVE-2021-47289: ACPI: fix NULL pointer dereference

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-21T14:35:14.740Z
- Modified: 2026-06-17T04:17:06.837Z
- 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: fix NULL pointer dereference

Commit 71f642833284 ("ACPI: utils: Fix reference counting in
for_each_acpi_dev_match()") started doing "acpi_dev_put()" on a pointer
that was possibly NULL.  That fails miserably, because that helper
inline function is not set up to handle that case.

Just make acpi_dev_put() silently accept a NULL pointer, rather than
calling down to put_device() with an invalid offset off that NULL
pointer.

(As written by CVE List.)

## Affected

- Linux Linux: from fe066621c7966fe47fa17c6be6fd81adb3c0509f before 38f54217b423c0101d03a00feec6fb8ec608b12e; from fe066621c7966fe47fa17c6be6fd81adb3c0509f before cae3fa3d8165761f3000f523b11cfa1cd35206bc; from fe066621c7966fe47fa17c6be6fd81adb3c0509f before ccf23a0888077a25a0793a746c3941db2a7562e4; from fe066621c7966fe47fa17c6be6fd81adb3c0509f before fc68f42aa737dc15e7665a4101d4168aadb8e4c4; 5.2 (not affected: before 5.2; from 5.4.139 up to 5.4.*; from 5.10.57 up to 5.10.*; from 5.13.6 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: before 5.4.139; from 5.5 before 5.10.57; from 5.11 before 5.13.6; 5.14

## References

- <https://git.kernel.org/stable/c/38f54217b423c0101d03a00feec6fb8ec608b12e> (patch)
- <https://git.kernel.org/stable/c/cae3fa3d8165761f3000f523b11cfa1cd35206bc> (patch)
- <https://git.kernel.org/stable/c/ccf23a0888077a25a0793a746c3941db2a7562e4> (patch)
- <https://git.kernel.org/stable/c/fc68f42aa737dc15e7665a4101d4168aadb8e4c4> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-47289 · Whole record: https://cve.day/CVE-2021-47289.json · Rebuilt by cve.day 2026-11-25T22:58:08.778Z
