Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-31470

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-31470

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "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"
  }
]
Related CVEs
CVE-2026-31470

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#39887 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement