Skip to main content
← All vulnerabilities
CVE-2024-57793

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From f4738f56d1dc62aaba69b33702a5ab098f1b8c63 · fixed in 1429ae7b7d4759a1e362456b8911c701bae655b4; From f4738f56d1dc62aaba69b33702a5ab098f1b8c63 · fixed in 27834971f616c5e154423c578fa95e0444444ce1

  • Linux Linux

    6.7

  • KernelLinux

    From 6.7.0 · fixed in 6.12.8

References 2

git.kernel.org