CVE-2024-57793CWE-401

CVE-2024-57793

Critical · published January 11, 2025

CVSS v3.1
9.3
EPSS
0%
Percentile
9.7
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00203 · 9.7th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2025-01-11T18:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.7, < 6.12.86.12.8
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (2)
EPSS history
Timeline
  • 11 JAN 12:39Z
    virt: tdx-guest: Just leak decrypted memory on unrecoverable errors
    cvelistv5