CVE-2024-35939

CVE-2024-35939

Critical · published May 19, 2024

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

In the Linux kernel, the following vulnerability has been resolved:

dma-direct: Leak pages on dma_set_decrypted() failure

On TDX it is possible for the untrusted host to cause

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

DMA could free decrypted/shared pages if dma_set_decrypted() fails. This

should be a rare case. Just leak the pages in this case instead of

freeing them.

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.00222 · 12.0th percentile
Published
2024-05-19T15:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel< 6.1.866.1.86
linux/linux_kernel≥ 6.2, < 6.6.276.6.27
linux/linux_kernel≥ 6.7, < 6.8.66.8.6
References (8)
EPSS history
Timeline
  • 19 MAY 10:10Z
    dma-direct: Leak pages on dma_set_decrypted() failure
    cvelistv5