CVE-2024-35939
Last modified
CVE-2024-35939 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Affected Software
| 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 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-35939?
How severe is CVE-2024-35939?
How do I fix CVE-2024-35939?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-35933In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35934In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35935In the Linux kernel, the following vulnerability has been re…3.3
- CVE-2024-35936In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35937In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-35938In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-3594The IDonate WordPress plugin through 1.9.0 does not sanitis…8.7
- CVE-2024-35940In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35941Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-35942In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35943In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35944In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-35939?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
