CVE-2024-56573: efi/libstub: Free correct pointer on failure
In the Linux kernel, the following vulnerability has been resolved:
efi/libstub: Free correct pointer on failure
cmdlineptr 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 freepool().
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56573?
CVE-2024-56573 has been classified as a moderate severity vulnerability in the Linux kernel.
What are the potential impacts of CVE-2024-56573?
CVE-2024-56573 can lead to an out-of-bounds read operation that may impact system stability.
How do I fix CVE-2024-56573?
To fix CVE-2024-56573, ensure you update to the latest version of the Linux kernel where the vulnerability has been patched.
Which versions of the Linux kernel are affected by CVE-2024-56573?
CVE-2024-56573 affects multiple versions of the Linux kernel prior to the release that includes the fix.
Where can I find more technical details about CVE-2024-56573?
Technical details about CVE-2024-56573 can typically be found in the changelogs or official patch notes from the Linux kernel repository.