CVE-2026-31470

published 22 Apr 2026 · updated 13 Nov 2026

virt: tdx-guest: Fix handling of host controlled 'quote' buffer length

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.21, Kernel 6.19.11, Kernel 6.12.80 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.13 <6.18.21, >=6.19 <6.19.11, >=6.7 <6.12.80, =7.0, >=f4738f56d1dc62aaba69b33702a5ab098f1b8c63 <6f3c8795ae9ba74fa10fe979293d1904712d3fb1, >=f4738f56d1dc62aaba69b33702a5ab098f1b8c63 <a079a62883e3365de592cea9f7a669d8115433b0, >=f4738f56d1dc62aaba69b33702a5ab098f1b8c63 <c3fd16c3b98ed726294feab2f94f876290bf7b61, =6.7, >=f4738f56d1dc62aaba69b33702a5ab098f1b8c63 <02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b6.18.21, 6.19.11, 6.12.80, 6f3c8795ae9ba74fa10fe979293d1904712d3fb1, a079a62883e3365de592cea9f7a669d8115433b0, c3fd16c3b98ed726294feab2f94f876290bf7b61, 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b
linux-kernel: Kernel>=6.13.0 <6.18.21, >=6.19.0 <6.19.11, >=6.7.0 <6.12.806.18.21, 6.19.11, 6.12.80

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31470 severity on Zeptric[![CVE-2026-31470](https://zeptric.io/badge/cve/CVE-2026-31470.svg)](https://zeptric.io/cve/CVE-2026-31470)