Skip to content
Heist/ feed
Back to feed
HighFix available

iommu/vt-d: Flush context cache with correct SID when tearing down aliases

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Flush context cache with correct SID when tearing down aliases domain_context_clear_one() and device_pasid_table_teardown() are both invoked once per DMA alias of a device. Each function locates the context entry using the bus/devfn pair provided by the pci_for_each_dma_alias() callback, then calls intel_context_flush_no_pasid(), which constructs a device-selective context-cache invalidation from info->bus and info->devfn (that is, always the requester ID of the device itself). As a result, for every alias other than the device’s own RID, the context entry that was just cleared in memory is never invalidated in the context cache. Hardware may continue using that stale cached entry. In the scalable-mode teardown path, intel_pasid_free_table() can then free the PASID directory still referenced by that stale entry, allowing the IOMMU to walk freed memory. Fix this by passing the source ID of the entry being torn down to intel_context_flush_no_pasid(), instead of deriving it from @info.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.114, 6.18.52, 7.2.6
CVEs
CVE-2026-90240
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:52 UTC · Revision 1

Source evidence

iommu/vt-d: Flush context cache with correct SID when tearing down aliases

core-osv · Original source

Published 17 Sept 2026, 16:07 UTC

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Flush context cache with correct SID when tearing down aliases domain_context_clear_one() and device_pasid_table_teardown() are both invoked once per DMA alias of a device. Each function locates the context entry using the bus/devfn pair provided by the pci_for_each_dma_alias() callback, then calls intel_context_flush_no_pasid(), which constructs a device-selective context-cache invalidation from info->bus and info->devfn (that is, always the requester ID of the device itself). As a result, for every alias other than the device’s own RID, the context entry that was just cleared in memory is never invalidated in the context cache. Hardware may continue using that stale cached entry. In the scalable-mode teardown path, intel_pasid_free_table() can then free the PASID directory still referenced by that stale entry, allowing the IOMMU to walk freed memory. Fix this by passing the source ID of the entry being torn down to intel_context_flush_no_pasid(), instead of deriving it from @info.

osv:CVE-2026-90240

Kernel

Fixed versions: 6.12.114, 6.18.52, 7.2.6

Complete source record
{
  "id": "b39934b4257c40e8c073a9b6be28dfbbf5cac99d32b89eecf26f6e26df0ba30f",
  "url": "https://osv.dev/vulnerability/CVE-2026-90240",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "iommu/vt-d: Flush context cache with correct SID when tearing down aliases",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Flush context cache with correct SID when tearing down aliases domain_context_clear_one() and device_pasid_table_teardown() are both invoked once per DMA alias of a device. Each function locates the context entry using the bus/devfn pair provided by the pci_for_each_dma_alias() callback, then calls intel_context_flush_no_pasid(), which constructs a device-selective context-cache invalidation from info->bus and info->devfn (that is, always the requester ID of the device itself). As a result, for every alias other than the device’s own RID, the context entry that was just cleared in memory is never invalidated in the context cache. Hardware may continue using that stale cached entry. In the scalable-mode teardown path, intel_pasid_free_table() can then free the PASID directory still referenced by that stale entry, allowing the IOMMU to walk freed memory. Fix this by passing the source ID of the entry being torn down to intel_context_flush_no_pasid(), instead of deriving it from @info.",
    "evidence": "osv:CVE-2026-90240",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.114",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.52",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-90240",
      "aliases": [
        "CVE-2026-90240"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f90584f4beb84211c4d21b319cc13f391fe9f3c2"
                },
                {
                  "fixed": "3eb6ad14ef359e426cff14942e220de101cdbe84"
                },
                {
                  "fixed": "a803141597d61dc0511f7cd849625e17d042ca8a"
                },
                {
                  "fixed": "5baddf100b3be730912485648cbaae5e3a251923"
                },
                {
                  "fixed": "c54e4ae971b98e8d650400137d332cee56c03f55"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90240.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.12.114"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.52"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90240.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.596178720Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/3eb6ad14ef359e426cff14942e220de101cdbe84",
        "https://git.kernel.org/stable/c/5baddf100b3be730912485648cbaae5e3a251923",
        "https://git.kernel.org/stable/c/a803141597d61dc0511f7cd849625e17d042ca8a",
        "https://git.kernel.org/stable/c/c54e4ae971b98e8d650400137d332cee56c03f55",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90240.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-90240",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90240.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-90240",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504950,
  "published_at": "2026-09-17T16:07:44.445+00:00"
}