CVE-2024-24856

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

No configuration.

History

21 Nov 2024, 08:59

Type Values Removed Values Added
References () https://bugzilla.openanolis.cn/show_bug.cgi?id=8764 - () https://bugzilla.openanolis.cn/show_bug.cgi?id=8764 -

29 May 2024, 08:15

Type Values Removed Values Added
Summary
  • (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.
Summary (en) 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. (en) 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.

17 Apr 2024, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-17 09:15

Updated : 2024-11-21 08:59


NVD link : CVE-2024-24856

Mitre link : CVE-2024-24856

CVE.ORG link : CVE-2024-24856


JSON object : View

Products Affected

No product.

CWE
CWE-476

NULL Pointer Dereference