{"id":"CVE-2026-80894","state":"PUBLISHED","title":"iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace","description":"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.","publishedAt":"2026-09-04T17:11:10.093Z","updatedAt":"2026-09-04T17:11:10.093Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6d11543bf37abdf60b8e6022a62fccfb82a5fe2e","status":"affected","lessThan":"adb87155b67f9759ff010c0a99559f5bffa45dcf","versionType":"git"},{"version":"fb21b1568adaa76af7a8c853f37c60fba8b28661","status":"affected","lessThan":"564ac339c0f8bada4e77a57a92bab9d3df635e07","versionType":"git"},{"version":"fb21b1568adaa76af7a8c853f37c60fba8b28661","status":"affected","lessThan":"8eb077025279304268bd58657f0af3d388822b21","versionType":"git"},{"version":"fb21b1568adaa76af7a8c853f37c60fba8b28661","status":"affected","lessThan":"ba5c0f28a26e7d9be1e0997f8920dd638e2782fd","versionType":"git"},{"version":"1e0216b6a58c79b5ee91c78706d5f560e4d1f56f","status":"affected","versionType":"git"},{"version":"4b23c4b991eb90cc7bca42e9f81142feedd4bb56","status":"affected","versionType":"git"},{"version":"6.12.24","status":"affected","lessThan":"6.12.105","versionType":"semver"},{"version":"6.13.12","status":"affected","lessThan":"6.14","versionType":"semver"},{"version":"6.14.3","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/device.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.12.105","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/device.c"]}],"references":["https://git.kernel.org/stable/c/adb87155b67f9759ff010c0a99559f5bffa45dcf","https://git.kernel.org/stable/c/564ac339c0f8bada4e77a57a92bab9d3df635e07","https://git.kernel.org/stable/c/8eb077025279304268bd58657f0af3d388822b21","https://git.kernel.org/stable/c/ba5c0f28a26e7d9be1e0997f8920dd638e2782fd"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80894.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80894","state":"PUBLISHED","datePublished":"2026-09-04T17:11:10.093Z","dateUpdated":"2026-09-04T17:11:10.093Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.800Z"},"containers":{"cna":{"title":"iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6d11543bf37abdf60b8e6022a62fccfb82a5fe2e","status":"affected","lessThan":"adb87155b67f9759ff010c0a99559f5bffa45dcf","versionType":"git"},{"version":"fb21b1568adaa76af7a8c853f37c60fba8b28661","status":"affected","lessThan":"564ac339c0f8bada4e77a57a92bab9d3df635e07","versionType":"git"},{"version":"fb21b1568adaa76af7a8c853f37c60fba8b28661","status":"affected","lessThan":"8eb077025279304268bd58657f0af3d388822b21","versionType":"git"},{"version":"fb21b1568adaa76af7a8c853f37c60fba8b28661","status":"affected","lessThan":"ba5c0f28a26e7d9be1e0997f8920dd638e2782fd","versionType":"git"},{"version":"1e0216b6a58c79b5ee91c78706d5f560e4d1f56f","status":"affected","versionType":"git"},{"version":"4b23c4b991eb90cc7bca42e9f81142feedd4bb56","status":"affected","versionType":"git"},{"version":"6.12.24","status":"affected","lessThan":"6.12.105","versionType":"semver"},{"version":"6.13.12","status":"affected","lessThan":"6.14","versionType":"semver"},{"version":"6.14.3","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/device.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.12.105","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/device.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/adb87155b67f9759ff010c0a99559f5bffa45dcf"},{"url":"https://git.kernel.org/stable/c/564ac339c0f8bada4e77a57a92bab9d3df635e07"},{"url":"https://git.kernel.org/stable/c/8eb077025279304268bd58657f0af3d388822b21"},{"url":"https://git.kernel.org/stable/c/ba5c0f28a26e7d9be1e0997f8920dd638e2782fd"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-09-04T17:11:10.093Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.24","versionEndExcluding":"6.12.105"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.1.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}