The memory allocation function ACPI_ALLOCATE_ZEROED does...
Moderate severity
Unreviewed
Published
Apr 17, 2024
to the GitHub Advisory Database
•
Updated Apr 17, 2024
Description
Published by the National Vulnerability Database
Apr 17, 2024
Published to the GitHub Advisory Database
Apr 17, 2024
Last updated
Apr 17, 2024
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.
References