What’s Vulnerable › Vulnerabilities

CVE-2024-56573: efi/libstub: Free correct pointer on failure

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.4, 6.6.64. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-56573 or the next vulnerability affects your stack