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.
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.
Fixes

Solution

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


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Anolis

Published:

Updated: 2024-08-01T23:28:12.874Z

Reserved: 2024-02-01T09:11:56.214Z

Link: CVE-2024-24856

cve-icon Vulnrichment

Updated: 2024-08-01T23:28:12.874Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-04-17T09:15:07.743

Modified: 2024-11-21T08:59:51.540

Link: CVE-2024-24856

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses