Skip to content
Heist/ feed
High

vhost: reset the vring metadata cache on vring reconfiguration

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: vhost: reset the vring metadata cache on vring reconfiguration vq->meta_iotlb[] caches the vhost_iotlb_map that backs each vring metadata region, and iotlb_access_ok() returns early on a cache hit, taking the hit as proof that the region has already been validated: if (vhost_vq_meta_fetch(vq, addr, len, type)) return true; The cache is reset on VHOST_IOTLB_UPDATE and VHOST_IOTLB_INVALIDATE, on device IOTLB (re)initialisation and on vq reset, but not when VHOST_SET_VRING_ADDR replaces vq->desc, vq->avail and vq->used, nor when VHOST_SET_VRING_NUM changes the region sizes. With a device IOTLB attached both ioctls are accepted while the vq is live, and neither validates the addresses at ioctl time: vq_access_ok() and vq_log_used_access_ok() return true early because the addresses are GIOVAs, deferring validation to prefetch time. Once the cache has been populated that deferred validation no longer runs -- vq_meta_prefetch() hits the stale entry and returns true -- and vhost_vq_meta_fetch() keeps translating through the old mapping as map->addr + addr - map->start for an address the mapping no longer covers. vhost_copy_to_user() and vhost_copy_from_user() consume the result with __copy_to_user() and __copy_from_user(), which do not check it either, so a subsequent used ring update or descriptor fetch accesses memory outside the region the IOTLB actually maps. Reset the metadata cache whenever the vring is reconfi

Announced Source revision 1
Original source ↗

CVE-2026-74580

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

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": "f889491380582b4ba2981cf0b0d7d6a40fb30ab7",
        "lessThan": "5224bd37e37d36076a550d99b2aebba33939fd95",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f889491380582b4ba2981cf0b0d7d6a40fb30ab7",
        "lessThan": "54617e9119be2eb728ecdd8d977b99c99d4c498a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f889491380582b4ba2981cf0b0d7d6a40fb30ab7",
        "lessThan": "13fa6f32a56a386a82bd7451644c494beed034af",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f889491380582b4ba2981cf0b0d7d6a40fb30ab7",
        "lessThan": "cf363a7a02ce132ef1f58084fdb13e1a3b7da7e7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f889491380582b4ba2981cf0b0d7d6a40fb30ab7",
        "lessThan": "6fa3e9b1fe856259555a7e22f3f3082e7827fd9b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f889491380582b4ba2981cf0b0d7d6a40fb30ab7",
        "lessThan": "f1e21108e3ddfcce62f6cad4ebd7b5674543c9e6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f889491380582b4ba2981cf0b0d7d6a40fb30ab7",
        "lessThan": "b70ebe0bba254e093dd5fd4c0c170941ce83eb85",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f889491380582b4ba2981cf0b0d7d6a40fb30ab7",
        "lessThan": "de845981da67a6b049080c87e605130b0c30adc5",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/vhost/vhost.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.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.11",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.265",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.216",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.183",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.152",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.104",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.45",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.9",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/vhost/vhost.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-74580

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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