CVE Catalog

CVE-2024-57793

CriticalCVSS 9.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

9th percentile - higher than 9% of all known CVEs

Summary

In the Linux kernel, in the virt: tdx-guest module, there is a vulnerability where in CoCo VMs an untrusted host can cause set_memory_decrypted() to fail, resulting in shared memory being returned to the page allocator. This could lead to functional or security issues. The fix leaks the decrypted memory on error, without printing an error since set_memory_decrypted() will call WARN_ONCE().

Risk Assessment

The risk is the possibility of returning shared memory to the page allocator, which could lead to confidentiality breaches or system malfunction in CoCo-based cloud environments.

Recommendation

It is recommended to apply the kernel patch that implements memory leak on set_memory_decrypted() failure and update systems to a kernel version containing this fix.

Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS