CVE-2024-57793: virt: tdx-guest: Just leak decrypted memory on unrecoverable errors
In the Linux kernel, the following vulnerability has been resolved:
virt: tdx-guest: Just leak decrypted memory on unrecoverable errors
In CoCo VMs it is possible for the untrusted host to cause
set_memory_decrypted() to fail such that an error is returned
and the resulting memory is shared. Callers need to take care
to handle these errors to avoid returning decrypted (shared)
memory to the page allocator, which could lead to functional
or security issues.
Leak the decrypted memory when set_memory_decrypted() fails,
and don't need to print an error since set_memory_decrypted()
will call WARN_ONCE().
Security readout for executives and security teams
Plain-English summary
A malicious or compromised host can trigger an error in a Linux confidential-computing guest, leaving memory shared with the host. If that memory returns to the normal allocator, later data could be exposed or corrupted. The kernel fix keeps the affected memory from being reused.
Executive priority
Treat this as urgent for organizations using Linux TDX confidential VMs, especially where sensitive workloads rely on isolation from infrastructure operators. Prioritize inventory and vendor-backed kernel updates. For organizations without TDX guests, confirm that absence and track normally rather than assuming broad Linux exposure.
Technical view
In Linux TDX guests, an untrusted host can cause set_memory_decrypted() to fail while the page remains decrypted and shared. Returning that page to the allocator could create confidentiality, integrity, availability, or functional problems. The resolution deliberately leaks the page after an unrecoverable failure rather than allowing reuse.
Likely exposure
Exposure appears limited to affected Linux kernels running TDX confidential-computing guests. The supplied record identifies versions 6.7, 6.12.8, and 6.13 as affected, but its version data is ambiguous. Ordinary Linux systems outside this configuration are not shown as affected.
Exploitation context
The CVSS vector describes local, low-complexity exploitation without privileges or user interaction, with impact crossing a security boundary. The hostile party is the untrusted host controlling a confidential VM. The record is not in KEV, and the supplied sources provide no evidence of active exploitation or a public exploit.
Researcher notes
The security consequence is allocator reuse of a page that unexpectedly remains shared after a failed encryption-state transition. The patch changes failure handling to retain that page permanently. The bundle provides no CWE, exploit evidence, affected architecture details beyond TDX guests, or definitive fixed release numbers; downstream backport status requires vendor confirmation.
Mitigation direction
Inventory Linux confidential-computing guests and identify those using Intel TDX.
Check distribution advisories for a kernel package incorporating one of the cited stable fixes.
Update affected guest kernels using vendor-supported packages and normal change-control procedures.
Prioritize sensitive TDX workloads where the host is outside the guest's trust boundary.
Validation and detection
Record each TDX guest's running kernel version and distribution package revision.
Confirm the installed package includes a backport of either cited kernel commit.
Reboot updated guests when required and verify they are running the corrected kernel.
Review vendor advisories because the supplied affected-version metadata is incomplete and ambiguous.
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-57793 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
3Source 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.