CVE-2024-56573

published 27 Dec 2024 · updated 5 Aug 2026

efi/libstub: Free correct pointer on failure

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 06d39d79cbd5a91a33707951ebf2512d0e759847, Kernel d173aee5709bd0994d216d60589ec67f8b11376a and Kernel eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.2, >=42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 <06d39d79cbd5a91a33707951ebf2512d0e759847, >=42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 <d173aee5709bd0994d216d60589ec67f8b11376a, >=42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 <eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf06d39d79cbd5a91a33707951ebf2512d0e759847, d173aee5709bd0994d216d60589ec67f8b11376a, eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56573 severity on Zeptric[![CVE-2024-56573](https://zeptric.io/badge/cve/CVE-2024-56573.svg)](https://zeptric.io/cve/CVE-2024-56573)