Back

HIGH

efi/libstub: Free correct pointer on failure

Published Dec 27, 2024

Description

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 products

Remediation

No remediation recorded yet.

Weaknesses (1)

References (9)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Dec 27, 2024
Updated Aug 5, 2026
Reserved Dec 27, 2024

CISA Vulnrichment

No data

NVD

Status Modified
Modified Aug 4, 2026

Red Hat

Public date Dec 27, 2024
Bugzilla 2334465

ENISA EUVD

Assigner Linux
Published Dec 27, 2024
Updated Aug 5, 2026

GitHub

No data