{"id":"CVE-2026-80894","aliases":["CVE-2026-80894"],"related":[],"kind":"vulnerability","state":"published","title":"iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace\n\niommufd_hwpt_replace_device() calls:\n\n\tiommufd_auto_response_faults(hwpt, old_handle);\n\npassing the *new* hwpt together with the handle of\nthe device's *old* domain. This should be a parameter mismatch:\n\n1. Semantically, iommufd_auto_response_faults(x, handle) scans\n   x->fault's deliver list and response xarray for groups matching\n   \"handle\". A group is queued under the hwpt that was attached at\n   fault-delivery time. old_handle is fetched *before* the domain switch,\n   so its group lives on old->fault, not on the new hwpt->fault.\n\n2. Historically, the first argument was \"old\". The routine was\n   introduced by commit b7d8833677ba (\"iommufd: Fault-capable hwpt\n   attach/detach/replace\") as __fault_domain_replace_dev() in\n   fault.c, correctly calling iommufd_auto_response_faults(old, curr).\n   Commit fb21b1568ada (\"iommufd: Make attach_handle generic than\n   fault specific\") moved this into iommufd_hwpt_replace_device() in\n   device.c and swapped it to \"hwpt\". This should be a refactor regression,\n   not an intentional change.\n\nFix this by passing \"old\" instead.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace\n\niommufd_hwpt_replace_device() calls:\n\n\tiommufd_auto_response_faults(hwpt, old_handle);\n\npassing the *new* hwpt together with the handle of\nthe device's *old* domain. This should be a parameter mismatch:\n\n1. Semantically, iommufd_auto_response_faults(x, handle) scans\n   x->fault's deliver list and response xarray for groups matching\n   \"handle\". A group is queued under the hwpt that was attached at\n   fault-delivery time. old_handle is fetched *before* the domain switch,\n   so its group lives on old->fault, not on the new hwpt->fault.\n\n2. Historically, the first argument was \"old\". The routine was\n   introduced by commit b7d8833677ba (\"iommufd: Fault-capable hwpt\n   attach/detach/replace\") as __fault_domain_replace_dev() in\n   fault.c, correctly calling iommufd_auto_response_faults(old, curr).\n   Commit fb21b1568ada (\"iommufd: Make attach_handle generic than\n   fault specific\") moved this into iommufd_hwpt_replace_device() in\n   device.c and swapped it to \"hwpt\". This should be a refactor regression,\n   not an intentional change.\n\nFix this by passing \"old\" instead.","source":"cvelist"}],"published":"2026-09-04T17:11:10.093Z","modified":"2026-09-04T18:17:57.603Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6d11543bf37abdf60b8e6022a62fccfb82a5fe2e","fixed":"adb87155b67f9759ff010c0a99559f5bffa45dcf","status":"affected"},{"type":"git","introduced":"fb21b1568adaa76af7a8c853f37c60fba8b28661","fixed":"564ac339c0f8bada4e77a57a92bab9d3df635e07","status":"affected"},{"type":"git","introduced":"fb21b1568adaa76af7a8c853f37c60fba8b28661","fixed":"8eb077025279304268bd58657f0af3d388822b21","status":"affected"},{"type":"git","introduced":"fb21b1568adaa76af7a8c853f37c60fba8b28661","fixed":"ba5c0f28a26e7d9be1e0997f8920dd638e2782fd","status":"affected"},{"type":"git","version":"1e0216b6a58c79b5ee91c78706d5f560e4d1f56f","status":"affected"},{"type":"git","version":"4b23c4b991eb90cc7bca42e9f81142feedd4bb56","status":"affected"},{"type":"semver","introduced":"6.12.24","fixed":"6.12.105","status":"affected"},{"type":"semver","introduced":"6.13.12","fixed":"6.14","status":"affected"},{"type":"semver","introduced":"6.14.3","fixed":"6.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.12.105","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/adb87155b67f9759ff010c0a99559f5bffa45dcf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/564ac339c0f8bada4e77a57a92bab9d3df635e07","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8eb077025279304268bd58657f0af3d388822b21","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba5c0f28a26e7d9be1e0997f8920dd638e2782fd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80894","url":"https://www.cve.org/CVERecord?id=CVE-2026-80894","licence":"CVE Terms of Use","modified":"2026-09-04T17:11:10.093Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80894","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80894","licence":"Public domain","modified":"2026-09-04T18:17:57.603Z"}],"updatedAt":"2026-11-25T22:59:36.388Z","epss":{"score":0.00168,"percentile":0.06384,"date":"2026-12-01T12:00:22.000Z"}}