Skip to main content
Network Thinking Solutions Logo

CVE-2024-35939

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.

All CVEs
CVE-2024-35939Published 5/19/2024

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.

Vendor advisory
CVSS9.3Critical

Overview

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.

Published
5/19/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 6.1.86

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.27

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.8.6

Verify advisory

Source
Linux
Linux
≥ 56fccf21d1961a06e2a0c96ce446ebf036651062, < 4e0cfb25d49da2e6261ad582f58ffa5b5dd8c8e9

Verify advisory

Source
Linux
Linux
≥ 56fccf21d1961a06e2a0c96ce446ebf036651062, < 4031b72ca747a1e6e9ae4fa729e765b43363d66a

Verify advisory

Source
Linux
Linux
≥ 56fccf21d1961a06e2a0c96ce446ebf036651062, < b57326c96b7bc7638aa8c44e12afa2defe0c934c

Verify advisory

Source
Linux
Linux
≥ 56fccf21d1961a06e2a0c96ce446ebf036651062, < b9fa16949d18e06bdf728a560f5c8af56d2bdcaf

Verify advisory

Source
Linux
Linux
91c7b0407ca6a62c095d265f76926b67bf66c026

Verify advisory

Source
Linux
Linux
≥ 5.7.7, < 5.8

Verify advisory

Source
Linux
Linux
5.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.3. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.