CVE-2024-57793
virt: tdx-guest: Just leak decrypted memory on unrecoverable errors
Reported by linux · Published January 11, 2025
In the Linux kernel, the following vulnerability has been resolved: virt: tdx-guest: Just leak decrypted memory on unrecoverable errors In CoCo VMs it is possible for the untrusted host to cause 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. Leak the decrypted memory when set_memory_decrypted() fails, and don't need to print an error since set_memory_decrypted() will call WARN_ONCE().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.12.8 |
| Linux | Linux | 6.7, 27834971f616c5e154423c578fa95e0444444ce1, 1429ae7b7d4759a1e362456b8911c701bae655b4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f4738f56d1dc62aaba69b33702a5ab098f1b8c63, f4738f56d1dc62aaba69b33702a5ab098f1b8c63 |
| Linux | Linux | 6.7, 0, 6.12.8 |
| Linux | Linux | 0, 6.13, * |
| linux | linux_kernel | 6.7, 6.7 |
Timeline
- Jan 11, 2025 CVE Published
- Jan 12, 2025 EPSS Score (30 in total, the first dated here)
- Apr 2, 2025 Coalition ESS Score (8 in total, the first dated here)
- Nov 20, 2025 PoC Published (2 in total, the first dated here)
- Dec 29, 2025 Security Advisory (127 in total, the first dated here)
- Sep 24, 2026 Distribution Patch (111 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-57793
vulnetix vdb fixes CVE-2024-57793
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-57793/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart