Skip to content
Heist/ feed
Back to feed
UnratedFix available

iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace iommufd_hwpt_replace_device() calls: iommufd_auto_response_faults(hwpt, old_handle); passing the *new* hwpt together with the handle of the device's *old* domain. This should be a parameter mismatch: 1. Semantically, iommufd_auto_response_faults(x, handle) scans x->fault's deliver list and response xarray for groups matching "handle". A group is queued under the hwpt that was attached at fault-delivery time. old_handle is fetched *before* the domain switch, so its group lives on old->fault, not on the new hwpt->fault. 2. Historically, the first argument was "old". The routine was introduced by commit b7d8833677ba ("iommufd: Fault-capable hwpt attach/detach/replace") as __fault_domain_replace_dev() in fault.c, correctly calling iommufd_auto_response_faults(old, curr). Commit fb21b1568ada ("iommufd: Make attach_handle generic than fault specific") moved this into iommufd_hwpt_replace_device() in device.c and swapped it to "hwpt". This should be a refactor regression, not an intentional change. Fix this by passing "old" instead.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.105, 6.18.44, 7.1.8
CVEs
CVE-2026-80894
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:58 UTC · Revision 1

Source evidence

iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace

core-osv · Original source

Published 4 Sept 2026, 17:11 UTC

In the Linux kernel, the following vulnerability has been resolved: iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace iommufd_hwpt_replace_device() calls: iommufd_auto_response_faults(hwpt, old_handle); passing the *new* hwpt together with the handle of the device's *old* domain. This should be a parameter mismatch: 1. Semantically, iommufd_auto_response_faults(x, handle) scans x->fault's deliver list and response xarray for groups matching "handle". A group is queued under the hwpt that was attached at fault-delivery time. old_handle is fetched *before* the domain switch, so its group lives on old->fault, not on the new hwpt->fault. 2. Historically, the first argument was "old". The routine was introduced by commit b7d8833677ba ("iommufd: Fault-capable hwpt attach/detach/replace") as __fault_domain_replace_dev() in fault.c, correctly calling iommufd_auto_response_faults(old, curr). Commit fb21b1568ada ("iommufd: Make attach_handle generic than fault specific") moved this into iommufd_hwpt_replace_device() in device.c and swapped it to "hwpt". This should be a refactor regression, not an intentional change. Fix this by passing "old" instead.

osv:CVE-2026-80894

Kernel

Fixed versions: 6.12.105, 6.18.44, 7.1.8

Complete source record
{
  "id": "179a12c62c59d451ea8fb528d76043e1a6738e2e7e66144841875f8e6b718d2f",
  "url": "https://osv.dev/vulnerability/CVE-2026-80894",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace iommufd_hwpt_replace_device() calls: iommufd_auto_response_faults(hwpt, old_handle); passing the *new* hwpt together with the handle of the device's *old* domain. This should be a parameter mismatch: 1. Semantically, iommufd_auto_response_faults(x, handle) scans x->fault's deliver list and response xarray for groups matching \"handle\". A group is queued under the hwpt that was attached at fault-delivery time. old_handle is fetched *before* the domain switch, so its group lives on old->fault, not on the new hwpt->fault. 2. Historically, the first argument was \"old\". The routine was introduced by commit b7d8833677ba (\"iommufd: Fault-capable hwpt attach/detach/replace\") as __fault_domain_replace_dev() in fault.c, correctly calling iommufd_auto_response_faults(old, curr). Commit fb21b1568ada (\"iommufd: Make attach_handle generic than fault specific\") moved this into iommufd_hwpt_replace_device() in device.c and swapped it to \"hwpt\". This should be a refactor regression, not an intentional change. Fix this by passing \"old\" instead.",
    "evidence": "osv:CVE-2026-80894",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.105",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.44",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-80894",
      "aliases": [
        "CVE-2026-80894"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6d11543bf37abdf60b8e6022a62fccfb82a5fe2e"
                },
                {
                  "fixed": "adb87155b67f9759ff010c0a99559f5bffa45dcf"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fb21b1568adaa76af7a8c853f37c60fba8b28661"
                },
                {
                  "fixed": "564ac339c0f8bada4e77a57a92bab9d3df635e07"
                },
                {
                  "fixed": "8eb077025279304268bd58657f0af3d388822b21"
                },
                {
                  "fixed": "ba5c0f28a26e7d9be1e0997f8920dd638e2782fd"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.12.24"
                },
                {
                  "fixed": "6.12.105"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.13.12"
                },
                {
                  "fixed": "6.14"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.14.3"
                },
                {
                  "fixed": "6.15"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1e0216b6a58c79b5ee91c78706d5f560e4d1f56f"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4b23c4b991eb90cc7bca42e9f81142feedd4bb56"
                }
              ]
            }
          ],
          "versions": [
            "v6.12.104",
            "v6.12.103",
            "v6.12.102",
            "v6.12.101",
            "v6.12.100",
            "v6.12.99",
            "v6.12.98",
            "v6.12.97",
            "v6.12.96",
            "v6.12.95",
            "v6.12.94",
            "v6.12.93",
            "v6.12.92",
            "v6.12.91",
            "v6.12.90",
            "v6.12.89",
            "v6.12.88",
            "v6.12.87",
            "v6.12.86",
            "v6.12.85",
            "v6.12.84",
            "v6.12.83",
            "v6.12.82",
            "v6.12.81",
            "v6.12.80",
            "v6.12.79",
            "v6.12.78",
            "v6.12.77",
            "v6.12.76",
            "v6.12.75",
            "v6.12.74",
            "v6.12.73",
            "v6.12.72",
            "v6.12.71",
            "v6.12.70",
            "v6.12.69",
            "v6.12.68",
            "v6.12.67",
            "v6.12.66",
            "v6.12.65",
            "v6.12.64",
            "v6.12.63",
            "v6.12.62",
            "v6.12.61",
            "v6.12.60",
            "v6.12.59",
            "v6.12.58",
            "v6.12.57",
            "v6.12.56",
            "v6.12.55",
            "v6.12.54",
            "v6.12.53",
            "v6.12.52",
            "v6.12.51",
            "v6.12.50",
            "v6.12.49",
            "v6.12.48",
            "v6.12.47",
            "v6.12.46",
            "v6.12.45",
            "v6.12.44",
            "v6.12.43",
            "v6.12.42",
            "v6.12.41",
            "v6.12.40",
            "v6.12.39",
            "v6.12.38",
            "v6.12.37",
            "v6.12.36",
            "v6.12.35",
            "v6.12.34",
            "v6.12.33",
            "v6.12.32",
            "v6.12.31",
            "v6.12.30",
            "v6.12.29",
            "v6.12.28",
            "v6.12.27",
            "v6.12.26",
            "v6.12.25",
            "v6.12.24",
            "v6.13.12",
            "v6.14.11",
            "v6.14.10",
            "v6.14.9",
            "v6.14.8",
            "v6.14.7",
            "v6.14.6",
            "v6.14.5",
            "v6.14.4",
            "v6.14.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80894.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.12.105"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.44"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.15.0"
                },
                {
                  "fixed": "7.1.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80894.json"
          }
        }
      ],
      "modified": "2026-10-08T02:52:03.107886279Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/564ac339c0f8bada4e77a57a92bab9d3df635e07",
        "https://git.kernel.org/stable/c/8eb077025279304268bd58657f0af3d388822b21",
        "https://git.kernel.org/stable/c/adb87155b67f9759ff010c0a99559f5bffa45dcf",
        "https://git.kernel.org/stable/c/ba5c0f28a26e7d9be1e0997f8920dd638e2782fd",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80894.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-80894",
        "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/80xxx/CVE-2026-80894.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-80894",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 98363,
  "published_at": "2026-09-04T17:11:10.093+00:00"
}