5.3medium
NULL pointer deference in acpi_db_convert_to_package of Linux acpi module
- Severity
- 5.3medium CVSS:3.1 by Anolis
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Anolis
Description
The memory allocation function ACPI_ALLOCATE_ZEROED does not guarantee a successful allocation, but the subsequent code directly dereferences the pointer that receives it, which may lead to null pointer dereference. To fix this issue, a null pointer check should be added. If it is null, return exception code AE_NO_MEMORY.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kernel | from v4.4 before v6.9 | CVE List |
| openanolis anolis_os | from v4.4 before v6.9 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
The memory allocation function ACPI_ALLOCATE_ZEROED does not guarantee a successful allocation, but the subsequent code directly dereferences the pointer that receives it, which may lead to null pointer dereference. To fix this issue, a null pointer check should be added. If it is null, return exception code AE_NO_MEMORY.
NVD (es)
La función de asignación de memoria ACPI_ALLOCATE_ZEROED no garantiza una asignación exitosa, pero el código posterior desreferencia directamente el puntero que la recibe, lo que puede provocar una desreferencia del puntero nulo. Para solucionar este problema, se debe agregar una verificación de puntero nulo. Si es nulo, devuelve el código de excepción AE_NO_MEMORY.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-24856 changed 2024-08-01 | CVE Terms of Use |
| NVD | CVE-2024-24856 changed 2026-06-17 | Public domain |