Linux · Linux Kernel · CVE-2024-35939
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
The issue is related to the dma-direct feature in the Linux kernel, where an untrusted host on TDX can cause set memory encrypted() or set memory decrypted() to fail, resulting in shared memory. Callers must handle these errors to avoid returning decrypted memory to the page allocator, which could lead to functional or security issues. DMA could free decrypted/shared pages if dma set decrypted() fails, and in this rare case, the pages should be leaked instead of freed.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.