CVE-2024-56573
MediumIn 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().
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-763CVE-2024-56573 is a Release of Invalid Pointer or Reference vulnerability
What is Release of Invalid Pointer or Reference?
The product attempts to return a memory resource to the system but calls the wrong release function. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.2
and later are affected. Fixed in
6.6.64,
6.12.4,
6.13
and their respective stable series.
References
The following references provide additional information about CVE-2024-56573 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/06d39d79cbd5a91a33707951ebf2512d0e759847
-
PatchKernel patch commithttps://git.kernel.org/stable/c/d173aee5709bd0994d216d60589ec67f8b11376a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf
Frequently asked questions
-
What is CVE-2024-56573?
CVE-2024-56573 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Release of Invalid Pointer or Reference flaw (CWE-763) . It affects Linux kernel versions from 6.2 onward and has been patched in 6.6.64, 6.12.4 and 6.13. CVE-2024-56573 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-56573?
CVE-2024-56573 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-56573?
Yes — CVE-2024-56573 has been patched. Fixed versions include 6.6.64, 6.12.4 and 6.13. If you are running Linux kernel 6.2 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-56573 actively exploited?
No — CVE-2024-56573 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Release of Invalid Pointer or Reference (CWE-763)?
The product attempts to return a memory resource to the system but calls the wrong release function. View CWE-763 on MITRE CWE →