efi/libstub: Free correct pointer on failure
cve-program · CVE-2024-56573
PublishedIn 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().
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-56573 · CVE overview and exploitation status
cve-program · CVE-2024-56573
Related changes
Linked by CVE identifierNo related changes are available here.