CVE-2026-31470
virt: tdx-guest: Fix handling of host controlled 'quote' buffer length
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.
INFO
Published Date :
April 22, 2026, 2:16 p.m.
Last Modified :
Nov. 11, 2026, 11:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel.
- Apply the fix for quote buffer length handling.
- Validate host-controlled values for quote buffer length.
- Prevent out-of-bounds reads to guest userspace.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-31470.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-31470 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-31470
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-31470 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-31470 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: 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. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-125 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 16, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b Added Reference https://git.kernel.org/stable/c/6f3c8795ae9ba74fa10fe979293d1904712d3fb1 Added Reference https://git.kernel.org/stable/c/a079a62883e3365de592cea9f7a669d8115433b0 Added Reference https://git.kernel.org/stable/c/c3fd16c3b98ed726294feab2f94f876290bf7b61 Removed Reference https://git.kernel.org/stable/c/02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b Removed Reference https://git.kernel.org/stable/c/6f3c8795ae9ba74fa10fe979293d1904712d3fb1 Removed Reference https://git.kernel.org/stable/c/a079a62883e3365de592cea9f7a669d8115433b0 Removed Reference https://git.kernel.org/stable/c/c3fd16c3b98ed726294feab2f94f876290bf7b61 Removed Reference Type https://git.kernel.org/stable/c/02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b Types: Patch Removed Reference Type https://git.kernel.org/stable/c/6f3c8795ae9ba74fa10fe979293d1904712d3fb1 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/a079a62883e3365de592cea9f7a669d8115433b0 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/c3fd16c3b98ed726294feab2f94f876290bf7b61 Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-31470', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:09:50.983675Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'f4738f56d1dc62aaba69b33702a5ab098f1b8c63', 'lessThan': 'a079a62883e3365de592cea9f7a669d8115433b0', 'versionType': 'git'}, {'status': 'affected', 'version': 'f4738f56d1dc62aaba69b33702a5ab098f1b8c63', 'lessThan': '6f3c8795ae9ba74fa10fe979293d1904712d3fb1', 'versionType': 'git'}, {'status': 'affected', 'version': 'f4738f56d1dc62aaba69b33702a5ab098f1b8c63', 'lessThan': '02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b', 'versionType': 'git'}, {'status': 'affected', 'version': 'f4738f56d1dc62aaba69b33702a5ab098f1b8c63', 'lessThan': 'c3fd16c3b98ed726294feab2f94f876290bf7b61', 'versionType': 'git'}], 'programFiles': ['drivers/virt/coco/tdx-guest/tdx-guest.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.7'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.7', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.80', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.21', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.11', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/virt/coco/tdx-guest/tdx-guest.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 07, 2026
Action Type Old Value New Value Added CWE CWE-787 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.80 Added Reference Type kernel.org: https://git.kernel.org/stable/c/02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6f3c8795ae9ba74fa10fe979293d1904712d3fb1 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a079a62883e3365de592cea9f7a669d8115433b0 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c3fd16c3b98ed726294feab2f94f876290bf7b61 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 22, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b Added Reference https://git.kernel.org/stable/c/6f3c8795ae9ba74fa10fe979293d1904712d3fb1 Added Reference https://git.kernel.org/stable/c/a079a62883e3365de592cea9f7a669d8115433b0 Added Reference https://git.kernel.org/stable/c/c3fd16c3b98ed726294feab2f94f876290bf7b61