virt: tdx-guest: Fix handling of host controlled 'quote' buffer length
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.80, 6.18.21, 6.19.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: virt: tdx-guest: Fix handling of host controlled 'quote' buffer length Validate host controlled value `quote_buf->out_len` that determines how many bytes of the quote are copied out to guest userspace. In TDX environments with remote attestation, quotes are not considered private, and can be forwarded to an attestation server. Catch scenarios where the host specifies a response length larger than the guest's allocation, or otherwise races modifying the response while the guest consumes it. This prevents contents beyond the pages allocated for `quote_buf` (up to TSM_REPORT_OUTBLOB_MAX) from being read out to guest userspace, and possibly forwarded in attestation requests. Recall that some deployments want per-container configs-tsm-report interfaces, so the leak may cross container protection boundaries, not just local root.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From f4738f56d1dc62aaba69b33702a5ab098f1b8c63 · fixed in a079a62883e3365de592cea9f7a669d8115433b0; From f4738f56d1dc62aaba69b33702a5ab098f1b8c63 · fixed in 6f3c8795ae9ba74fa10fe979293d1904712d3fb1; From f4738f56d1dc62aaba69b33702a5ab098f1b8c63 · fixed in 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b; From f4738f56d1dc62aaba69b33702a5ab098f1b8c63 · fixed in c3fd16c3b98ed726294feab2f94f876290bf7b61
- Linux Linux
6.7
- KernelLinux
From 6.7.0 · fixed in 6.12.80; From 6.13.0 · fixed in 6.18.21; From 6.19.0 · fixed in 6.19.11