{"id":"CVE-2026-31470","aliases":["CVE-2026-31470"],"related":[],"kind":"vulnerability","state":"published","title":"virt: tdx-guest: Fix handling of host controlled 'quote' buffer length","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirt: tdx-guest: Fix handling of host controlled 'quote' buffer length\n\nValidate host controlled value `quote_buf->out_len` that determines how\nmany bytes of the quote are copied out to guest userspace. In TDX\nenvironments with remote attestation, quotes are not considered private,\nand can be forwarded to an attestation server.\n\nCatch scenarios where the host specifies a response length larger than\nthe guest's allocation, or otherwise races modifying the response while\nthe guest consumes it.\n\nThis prevents contents beyond the pages allocated for `quote_buf`\n(up to TSM_REPORT_OUTBLOB_MAX) from being read out to guest userspace,\nand possibly forwarded in attestation requests.\n\nRecall that some deployments want per-container configs-tsm-report\ninterfaces, so the leak may cross container protection boundaries, not\njust local root.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirt: tdx-guest: Fix handling of host controlled 'quote' buffer length\n\nValidate host controlled value `quote_buf->out_len` that determines how\nmany bytes of the quote are copied out to guest userspace. In TDX\nenvironments with remote attestation, quotes are not considered private,\nand can be forwarded to an attestation server.\n\nCatch scenarios where the host specifies a response length larger than\nthe guest's allocation, or otherwise races modifying the response while\nthe guest consumes it.\n\nThis prevents contents beyond the pages allocated for `quote_buf`\n(up to TSM_REPORT_OUTBLOB_MAX) from being read out to guest userspace,\nand possibly forwarded in attestation requests.\n\nRecall that some deployments want per-container configs-tsm-report\ninterfaces, so the leak may cross container protection boundaries, not\njust local root.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nvirt: tdx-guest: Corrección del manejo de la longitud del búfer de ’quote’ controlado por el host\n\nValidar 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.\n\nCapturar 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.\n\nEsto 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.\n\nRecordar 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.","source":"nvd"}],"published":"2026-04-22T13:53:58.925Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125","CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"f4738f56d1dc62aaba69b33702a5ab098f1b8c63","fixed":"a079a62883e3365de592cea9f7a669d8115433b0","status":"affected"},{"type":"git","introduced":"f4738f56d1dc62aaba69b33702a5ab098f1b8c63","fixed":"6f3c8795ae9ba74fa10fe979293d1904712d3fb1","status":"affected"},{"type":"git","introduced":"f4738f56d1dc62aaba69b33702a5ab098f1b8c63","fixed":"02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b","status":"affected"},{"type":"git","introduced":"f4738f56d1dc62aaba69b33702a5ab098f1b8c63","fixed":"c3fd16c3b98ed726294feab2f94f876290bf7b61","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.80","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.21","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.11","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.7","fixed":"6.12.80"},{"status":"affected","introduced":"6.13","fixed":"6.18.21"},{"status":"affected","introduced":"6.19","fixed":"6.19.11"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a079a62883e3365de592cea9f7a669d8115433b0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f3c8795ae9ba74fa10fe979293d1904712d3fb1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02ca2d9d197723696cb9cc0cb159eb7e8bf5f89b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3fd16c3b98ed726294feab2f94f876290bf7b61","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T15:09:50.983Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31470","url":"https://www.cve.org/CVERecord?id=CVE-2026-31470","licence":"CVE Terms of Use","modified":"2026-10-19T18:35:50.013Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31470","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31470","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.278Z","epss":{"score":0.0013,"percentile":0.02872,"date":"2026-12-01T12:00:22.000Z"}}