CVE-2026-31470
JSON

7.1high

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

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom f4738f56d1dc62aaba69b33702a5ab098f1b8c63 before a079a62883e3365de592cea9f7a669d8115433b0, from f4738f56d1dc62aaba69b33702a5ab098f1b8c63 before 6f3c8795ae9ba74fa10fe979293d1904712d3fb1, from f4738f56d1dc62aaba69b33702a5ab098f1b8c63 before 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b, from f4738f56d1dc62aaba69b33702a5ab098f1b8c63 before c3fd16c3b98ed726294feab2f94f876290bf7b61, 6.7
Not affected: before 6.7, from 6.12.80 up to 6.12.*, from 6.18.21 up to 6.18.*, from 6.19.11 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.7 before 6.12.80, from 6.13 before 6.18.21, from 6.19 before 6.19.11, 7.0NVD

Classification

CWE-125CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: virt: tdx-guest: Corrección del manejo de la longitud del búfer de ’quote’ controlado por el host Validar el valor controlado por el host ’quote_buf -> out_len’ que determina cuántos bytes de la ’quote’ se copian al espacio de usuario del invitado. En entornos TDX con atestación remota, las ’quotes’ no se consideran privadas y pueden ser reenviadas a un servidor de atestación. Capturar escenarios donde el host especifica una longitud de respuesta mayor que la asignación del invitado, o de otro modo compite modificando la respuesta mientras el invitado la consume. Esto evita que el contenido más allá de las páginas asignadas para ’quote_buf’ (hasta TSM_REPORT_OUTBLOB_MAX) sea leído al espacio de usuario del invitado y posiblemente reenviado en solicitudes de atestación. Recordar que algunas implementaciones quieren interfaces configs-tsm-report por contenedor, por lo que la fuga puede cruzar los límites de protección del contenedor, no solo la raíz local.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31470 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-31470 changed 2026-11-11Public domain