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
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().
Security readout for executives and security teams
Plain-English summary
A Linux EFI boot component can free the wrong memory pointer while handling a command-line processing failure. Because that pointer may reference the caller’s stack, successful abuse could corrupt memory and compromise confidentiality, integrity, or availability. Exploitation requires local access, privileges, and a difficult failure condition; this is not described as remotely exploitable.
Executive priority
Treat this as a high-priority kernel maintenance issue, but not an emergency comparable to an actively exploited remote flaw. Accelerate remediation on shared or locally accessible EFI-booted systems. Follow normal tested kernel rollout procedures because exploitation evidence is absent and successful abuse appears constrained.
Technical view
Within efi/libstub failure cleanup, cmdline_ptr is an output parameter likely referencing caller stack memory. The vulnerable path passes it to free_pool() instead of the allocated cmdline buffer. The correction frees cmdline. CVSS 3.1 is 7.0: local vector, high complexity, low privileges, no user interaction, unchanged scope, and high potential impact.
Likely exposure
Exposure is limited to affected Linux kernels using the EFI libstub and reaching the relevant failure-cleanup path. The source lists 6.2, 6.6.64, 6.12.4, 6.13, and an ambiguous “0” entry as affected. Distribution backports may change actual status, so version strings alone are insufficient.
Exploitation context
The supplied record is not in CISA KEV and provides no evidence of active exploitation or a public exploit. The CVSS vector indicates an attacker would need local, low-privileged access and overcome high attack complexity. The exact trigger conditions and practical exploitability are not established by the supplied sources.
Researcher notes
The defect is an invalid-free condition in EFI libstub error handling: an out-parameter potentially pointing into caller stack memory is freed instead of the pool allocation. No CWE is assigned in the supplied record. Affected-version data is imprecise and includes duplicated commit entries and an ambiguous “0,” requiring branch and backport verification.
Mitigation direction
Apply a vendor-supported kernel containing the cited stable correction or an equivalent backport.
Check Linux distribution security guidance for package-specific fixed versions.
Prioritize EFI-booted systems where untrusted users have local access.
Use supported kernels and avoid relying solely on upstream version numbers.
Validation and detection
Inventory kernel package versions on systems that boot through EFI.
Confirm whether the distribution package includes one of the cited fixes or an equivalent backport.
Verify remediation against the distribution’s security advisory or package changelog.
After updating, confirm the intended kernel is active and EFI boot remains operational.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-56573 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
4Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.