Skip to content
Heist/ feed
Unrated

vhost: invalidate vring access on IOTLB transitions

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: vhost: invalidate vring access on IOTLB transitions When VIRTIO_F_ACCESS_PLATFORM changes, cached vring pointers and IOTLB metadata are interpreted in a different address space. Keeping them across the transition can leave stale ring mappings in use. Clearing d->iotlb before taking the VQ locks also lets a worker observe a transient NULL d->iotlb and fall back to d->umem while translating a descriptor. Add a common vhost_clear_device_iotlb() helper for vhost-net and vhost-vsock. Take all VQ mutexes in index order before dropping the device-wide IOTLB, invalidate each VQ's cached ring access and metadata, clear pending IOTLB messages, and free the old table after the handoff. This serializes the transition with workers and prevents mixed address space mappings. On the first direct-to-IOTLB transition, invalidate the cached vring addresses. When an existing device IOTLB is replaced, preserve the GIOVA ring addresses and reset only the metadata cache. After clearing ACCESS_PLATFORM, userspace must configure the vring addresses for the new address mode. vhost_vq_invalidate_access() clears desc, avail, and used together. Treat the VQ as invalidated only when all three are NULL, since a single GIOVA address may legitimately be zero.

Announced Source revision 1
Original source ↗

CVE-2026-97988

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-97988

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": "6b1e6cc7855b09a0a9bfa1d9f30172ba366f161c",
        "lessThan": "021bf73731f7aa94540a549cf850db5968019960",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6b1e6cc7855b09a0a9bfa1d9f30172ba366f161c",
        "lessThan": "e8fe13c14d57cc7c6bd69c72c5fabaaf0d918f98",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6b1e6cc7855b09a0a9bfa1d9f30172ba366f161c",
        "lessThan": "7f8ee0b8f632441aec456a7c147fb43f5c73542d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6b1e6cc7855b09a0a9bfa1d9f30172ba366f161c",
        "lessThan": "4a454af8e56c1596ada1421ae5eba90c8896c7c7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6b1e6cc7855b09a0a9bfa1d9f30172ba366f161c",
        "lessThan": "e4f4761879a230aa59e569102a6ab9851847d833",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/vhost/net.c",
      "drivers/vhost/vhost.c",
      "drivers/vhost/vhost.h",
      "drivers/vhost/vsock.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.8"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.8",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/vhost/net.c",
      "drivers/vhost/vhost.c",
      "drivers/vhost/vhost.h",
      "drivers/vhost/vsock.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97988

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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