virt: tdx-guest: Just leak decrypted memory on unrecoverable errors
Published Jan 11, 2025
9.3
CRITICALCVSS 3.1
EPSS 0.20%
Description
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().
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.7StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.7
- Version 6.12.8StatusunaffectedConstraints<=6.12.*
- Version 6.13StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 6.7 · < 6.12.8
- 6.13
- 6.13
- 6.13
- 6.13
No data.
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Affected
Red Hat Enterprise Linux 9
kernel-rt
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
2 other sources (CVE.org, Red Hat) ▾
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (4 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.20% (0.00202) | 9.16th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.19% (0.00189) | 8.59th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.03% (0.00025) | 4.14th | v4 (v2025.03.14) |
| Jan 12, 2025 | 0.04% (0.00043) | 11.16th | v3 (v2023.03.01) |
References (7)
- https://access.redhat.com/security/cve/CVE-2024-57793 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2337112 Issue Tracking
- https://git.kernel.org/stable/c/1429ae7b7d4759a1e362456b8911c701bae655b4 Patch
- https://git.kernel.org/stable/c/27834971f616c5e154423c578fa95e0444444ce1 Patch
- https://lore.kernel.org/linux-cve-announce/2025011150-CVE-2024-57793-4d57@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2024-57793
- https://www.cve.org/CVERecord?id=CVE-2024-57793
Change history (0)
No recorded changes yet.