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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 20.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux | < 6.8.0-38.38 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-aws | < 6.8.0-1011.12 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws-5.15 | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws-6.5 | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-azure | < any | UNKNOWN |
git.kernel.org/linus/b9fa16949d18e06bdf728a560f5c8af56d2bdcaf (6.9-rc1)
git.kernel.org/stable/c/4031b72ca747a1e6e9ae4fa729e765b43363d66a
git.kernel.org/stable/c/4e0cfb25d49da2e6261ad582f58ffa5b5dd8c8e9
git.kernel.org/stable/c/b57326c96b7bc7638aa8c44e12afa2defe0c934c
git.kernel.org/stable/c/b9fa16949d18e06bdf728a560f5c8af56d2bdcaf
launchpad.net/bugs/cve/CVE-2024-35939
nvd.nist.gov/vuln/detail/CVE-2024-35939
security-tracker.debian.org/tracker/CVE-2024-35939
ubuntu.com/security/notices/USN-6893-1
ubuntu.com/security/notices/USN-6893-2
ubuntu.com/security/notices/USN-6893-3
ubuntu.com/security/notices/USN-6918-1
www.cve.org/CVERecord?id=CVE-2024-35939