5.5medium
ACPI: fix NULL pointer dereference
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | before 5.4.139, from 5.5 before 5.10.57, from 5.11 before 5.13.6, 5.14 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ACPI: corrige la desreferencia del puntero NULL. La confirmación 71f642833284 ("ACPI: utils: corrige el recuento de referencias en for_each_acpi_dev_match()") comenzó a hacer "acpi_dev_put()" en un puntero que posiblemente era NULL. Eso falla estrepitosamente, porque esa función auxiliar en línea no está configurada para manejar ese caso. Simplemente haga que acpi_dev_put() acepte silenciosamente un puntero NULL, en lugar de llamar a put_device() con un desplazamiento no válido de ese puntero NULL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47289 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47289 changed 2026-06-17 | Public domain |