CVE-2024-56573

MEDIUM

Linux Kernel - Use-After-Free in EFI libstub cmdline_ptr Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: efi/libstub: Free correct pointer on failure cmdline_ptr is an out parameter, which is not allocated by the function itself, and likely points into the caller's stack. cmdline refers to the pool allocation that should be freed when cleaning up after a failure, so pass this instead to free_pool().

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 12.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-763
Status published
Products (11)
linux/Kernel 6.2.0 - 6.6.64linux
linux/Kernel 6.7.0 - 6.12.4linux
Linux/Linux < 6.2
Linux/Linux 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 - 06d39d79cbd5a91a33707951ebf2512d0e759847
Linux/Linux 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 - d173aee5709bd0994d216d60589ec67f8b11376a
Linux/Linux 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 - eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf
Linux/Linux 6.12.4 - 6.12.*
Linux/Linux 6.13
Linux/Linux 6.2
Linux/Linux 6.6.64 - 6.6.*
... and 1 more
Published Dec 27, 2024
Tracked Since Feb 18, 2026