CVE-2024-56573

efi/libstub: Free correct pointer on failure

MEDIUM
5.5
CVSS Score
Published: December 27, 2024 at 02:23 PM UTC
Updated: August 5, 2026 at 12:05 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.2 ≤ v < 6.12.46.2 ≤ v < 6.136.2 ≤ v < 6.6.646.7 ≤ v < 6.12.442c8ea3dca094ab82776ca706fb7a9cbe8ac3dc96.2
Vendor states this is fixed in 06d39d79cbd5a91a33707951ebf2512d0e759847 (fixed)
Vendor states this is fixed in d173aee5709bd0994d216d60589ec67f8b11376a (fixed)
Vendor states this is fixed in eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf (fixed)
Vendor states this is fixed in 6.12.4 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)
Vendor states this is fixed in 6.6.64 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/06d39d79cbd5a91a33707951ebf2512d0e759847
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d173aee5709bd0994d216d60589ec67f8b11376a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-763

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card