CVE-2024-35939: Linux kernel · dma-direct: Leak pages on dma_set_decrypted() failure
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 9.3 Critical · fixed in 6.8.0-1011.12~22.04.1 : patch Linux kernel as a priority.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1011.12~22.04.1, 6.8.0-1010.10~22.04.1, 6.8.0-1009.9~22.04.1 +13
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied. The vendor advisory from Ubuntu confirms that this issue has been fixed in updated Linux kernel versions. Users should update to the fixed kernel versions and reboot their systems to apply the changes. No additional mitigation steps are indicated beyond applying the official fix.
Description
A vulnerability in the Linux kernel's dma-direct subsystem could cause leaked pages on dma_set_decrypted() failure, particularly on TDX platforms where untrusted hosts may cause set_memory_encrypted() or set_memory_decrypted() to fail. This failure can result in decrypted shared memory being incorrectly returned to the page allocator, potentially leading to security issues. The issue has been resolved in updated Linux kernel versions.
References
- ubuntu.com/security/CVE-2024-35939 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-35939 (opens in a new tab)
- git.kernel.org/linus/b9fa16949d18e06bdf728a560f5c8af56d2bdcaf (opens in a new tab)
- git.kernel.org/stable/c/4e0cfb25d49da2e6261ad582f58ffa5b5dd8c8e9 (opens in a new tab)
- git.kernel.org/stable/c/4031b72ca747a1e6e9ae4fa729e765b43363d66a (opens in a new tab)
- git.kernel.org/stable/c/b57326c96b7bc7638aa8c44e12afa2defe0c934c (opens in a new tab)
- git.kernel.org/stable/c/b9fa16949d18e06bdf728a560f5c8af56d2bdcaf (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6918-1 (opens in a new tab)