CVE-2024-57793

published 11 Jan 2025 · updated 15 Oct 2026

virt: tdx-guest: Just leak decrypted memory on unrecoverable errors

9.3CriticalCVSS 9.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1429ae7b7d4759a1e362456b8911c701bae655b4 and Kernel 27834971f616c5e154423c578fa95e0444444ce1.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.7, >=f4738f56d1dc62aaba69b33702a5ab098f1b8c63 <1429ae7b7d4759a1e362456b8911c701bae655b4, >=f4738f56d1dc62aaba69b33702a5ab098f1b8c63 <27834971f616c5e154423c578fa95e0444444ce11429ae7b7d4759a1e362456b8911c701bae655b4, 27834971f616c5e154423c578fa95e0444444ce1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-57793 severity on Zeptric[![CVE-2024-57793](https://zeptric.io/badge/cve/CVE-2024-57793.svg)](https://zeptric.io/cve/CVE-2024-57793)