CVE-2024-35939Linux Kernel
High 7.1
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.1
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 20
- Auth required
- Yes
- Published
- May 19, 2024
- Updated
- Aug 4, 2026
- Category
- Operating system · Linux
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | < 6.1.86 |
| linux | linux_kernel | ≥ 6.2 < 6.6.27 |
| linux | linux_kernel | ≥ 6.7 < 6.8.6 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch