CVE-2024-35939dma-direct: Leak pages on dma_set_decrypted() failure
- 9.3CriticalCVSS base score
- 0.22%Exploitation in 30 daysEPSS · top 87% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By Linux
- 2 days later
· 2 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | Critical9.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 87% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.3.
Affected products
- affected 56fccf21d1961a06e2a0c96ce446ebf036651062 – < 4e0cfb25d49da2e6261ad582f58ffa5b5dd8c8e9
- affected 56fccf21d1961a06e2a0c96ce446ebf036651062 – < 4031b72ca747a1e6e9ae4fa729e765b43363d66a
- affected 56fccf21d1961a06e2a0c96ce446ebf036651062 – < b57326c96b7bc7638aa8c44e12afa2defe0c934c
- affected 56fccf21d1961a06e2a0c96ce446ebf036651062 – < b9fa16949d18e06bdf728a560f5c8af56d2bdcaf
- affected 91c7b0407ca6a62c095d265f76926b67bf66c026
- affected 5.7.7 – < 5.8
- affected 5.8
- unaffected < 5.8
- unaffected 6.1.86 – ≤ 6.1.*
- unaffected 6.6.27 – ≤ 6.6.*
- unaffected 6.8.6 – ≤ 6.8.*
- unaffected 6.9 – ≤ *
References
References4
- https://git.kernel.org/stable/c/4e0cfb25d49da2e6261ad582f58ffa5b5dd8c8e9 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/4031b72ca747a1e6e9ae4fa729e765b43363d66a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/b57326c96b7bc7638aa8c44e12afa2defe0c934c (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/b9fa16949d18e06bdf728a560f5c8af56d2bdcaf (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-35657 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-35939)Record last updated .