LiveActive security incident?Get immediate response
CVE Record

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().

HighCVSS 7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

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.
Prepared
Confidence
medium
Sources
5

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.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

ScoreVersionSeverityVectorExploitImpactSource
7CVSS 3.1HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H15.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7High
CVSS 3.1 vector shape for CVE-2024-56573Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9, 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9, 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9unaffected
LinuxLinux6.2, 0, 6.6.64, 6.12.4, 6.13affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.