همهٔ گزارش‌ها
متوسط

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

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2024-57793

احتمال بهره‌برداری در ۳۰ روز آینده: 0.20%

FIRST EPSS · ۱۴۰۵/۰۸/۲۹

شرح آسیب‌پذیری

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

A flaw was found in the Linux kernel's Intel Trust Domain Extensions (TDX) guest driver used in confidential computing virtual machines. An untrusted host hypervisor can induce unrecoverable errors during memory decryption, causing the guest kernel to return shared, unencrypted memory back into the general memory allocator. A malicious host can leverage this behavior to access confidential guest memory, resulting in information disclosure or system instability.