CVE-2026-31470
virt: tdx-guest: Fix handling of host controlled 'quote' buffer length
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < a079a62883e3365de592cea9f7a669d8115433b0; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < 6f3c8795ae9ba74fa10fe979293d1904712d3fb1; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < c3fd16c3b98ed726294feab2f94f876290bf7b61
- Anyone running Linux 6.7
Vulnerability facts
- Affected
- Linux >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < a079a62883e3365de592cea9f7a669d8115433b0; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < 6f3c8795ae9ba74fa10fe979293d1904712d3fb1; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < c3fd16c3b98ed726294feab2f94f876290bf7b61; Linux 6.7
- Fixed in
- Linux 6f3c8795ae9ba74fa10fe979293d1904712d3fb1, Linux 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-787, CWE-125
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < a079a62883e3365de592cea9f7a669d8115433b0; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < 6f3c8795ae9ba74fa10fe979293d1904712d3fb1; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < c3fd16c3b98ed726294feab2f94f876290bf7b61 | — | cvelist |
| Linux | 6.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-31470. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-31470.md Affected: Linux >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < a079a62883e3365de592cea9f7a669d8115433b0; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < 6f3c8795ae9ba74fa10fe979293d1904712d3fb1; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b; >= f4738f56d1dc62aaba69b33… Fixed in: Linux 6f3c8795ae9ba74fa10fe979293d1904712d3fb1, Linux 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-31470 being exploited?
There is no confirmed exploitation: CVE-2026-31470 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-31470?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-31470?
Linux >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < a079a62883e3365de592cea9f7a669d8115433b0; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < 6f3c8795ae9ba74fa10fe979293d1904712d3fb1; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b; >= f4738f56d1dc62aaba69b33702a5ab098f1b8c63, < c3fd16c3b98ed726294feab2f94f876290bf7b61; Linux 6.7.
Is there a fix for CVE-2026-31470?
Yes. Fixed in Linux 6f3c8795ae9ba74fa10fe979293d1904712d3fb1, Linux 02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-31470?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.