CVE-2024-57793

MEDIUM

Linux Kernel 6.7-6.12.8 - Use-After-Free in TDX Guest Memory Decryption

Title source: llm
STIX 2.1

Description

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

Scores

CVSS v3 5.5
EPSS 0.0019
EPSS Percentile 8.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-401
Status published
Products (9)
linux/Kernel 6.7.0 - 6.12.8linux
Linux/Linux < 6.7
Linux/Linux 6.12.8 - 6.12.*
Linux/Linux 6.13
Linux/Linux 6.7
Linux/Linux f4738f56d1dc62aaba69b33702a5ab098f1b8c63 - 1429ae7b7d4759a1e362456b8911c701bae655b4
Linux/Linux f4738f56d1dc62aaba69b33702a5ab098f1b8c63 - 27834971f616c5e154423c578fa95e0444444ce1
linux/linux_kernel 6.13 rc1 (4 CPE variants)
linux/linux_kernel 6.7 - 6.12.8
Published Jan 11, 2025
Tracked Since Feb 18, 2026