diff options
author | Changqing Li <changqing.li@windriver.com> | 2024-11-25 12:55:45 +0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-12-06 05:50:24 -0800 |
commit | 1cb4e6a502e25d526f780100eb09507b5b6b75eb (patch) | |
tree | 5336a186b7a16f08202e65a25a9f88f4ea0405c5 /scripts/lib/devtool/export.py | |
parent | 6653eb6e900e9a2934b6c934f26555fe28c1a8d9 (diff) | |
download | poky-1cb4e6a502e25d526f780100eb09507b5b6b75eb.tar.gz |
acpica: fix 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.
Refer: https://nvd.nist.gov/vuln/detail/CVE-2024-24856
(From OE-Core rev: 5c590ccd1973d343f47e7b7171691400490dfc1a)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/export.py')
0 files changed, 0 insertions, 0 deletions