Lucene search

K
ubuntucveUbuntu.comUB:CVE-2024-35939
HistoryMay 19, 2024 - 12:00 a.m.

CVE-2024-35939

2024-05-1900:00:00
ubuntu.com
ubuntu.com
3
linux kernel
dma-direct
vulnerability
memory leak
dma_set_decrypted
tdx
untrusted host
error handling
shared memory
page allocator
security issues

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%

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.

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%