Skip to content
Heist/ feed
Unrated

iommu/vt-d: Fix iopf_refcount leak on RID domain replacement

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix iopf_refcount leak on RID domain replacement intel_iommu_attach_device() enables IOPF for the new domain but never disables it for the old one. device_block_translation(), called at the start of the function, tears down translation but does not touch any IOPF state; blocking_domain_attach_dev() has to call iopf_for_domain_remove() explicitly before invoking it for exactly this reason. identity_domain_attach_dev() has the same problem. Its comment claims that no PRI handling is needed because the device has been put in the blocking state, but the blocking state and the IOPF reference count are independent of each other. As a result, replacing a domain that has an iopf_handler with another domain at RID level leaks a reference in info->iopf_refcount. The count never drops back to zero, so iopf_queue_remove_device() is never called and iommu_disable_pci_pri() triggers its WARN_ON(info->iopf_refcount) when the device is released. The PASID paths already handle this correctly by way of iopf_for_domain_replace(); convert the two RID paths to do the same. Using the replace helper rather than a bare remove keeps the enable before the disable, so the reference count does not transiently reach zero and evict the device from the IOPF queue.

Announced Group revision 1
Original source ↗

CVE-2026-90242

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

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": "17fce9d2336d952b95474248303e5e7d9777f2e0",
        "lessThan": "243bf1e45e40be4705aae17c5044bf83df5f4a92",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "17fce9d2336d952b95474248303e5e7d9777f2e0",
        "lessThan": "143cd37ce76527ddd6f6dbac4a89bde31fb8b0dc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "17fce9d2336d952b95474248303e5e7d9777f2e0",
        "lessThan": "236dd58fabd2e951b940a6ad88b81147899ed311",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/iommu/intel/iommu.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.16"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.16",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/iommu/intel/iommu.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-90242

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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