CVE-2024-24856

NULL pointer deference in acpi_db_convert_to_package of Linux acpi module

Published Apr 17, 2024 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

https://github.com/acpica/acpica/pull/946/commits/4d4547cf13cca820ff7e0f859ba83e1a610b9fd0

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-22219 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.
History

No history.

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Anolis
Published
Updated
Aug 1, 2024, 11:28 PM
Reserved
Feb 1, 2024, 9:11 AM
Status
Deferred
Published
Apr 17, 2024, 9:15 AM
Modified
Jun 17, 2026, 7:15 AM