{"id":"CVE-2026-80894","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-09-04T18:17:57.603","lastModified":"2026-09-04T18:17:57.603","vulnStatus":"Received","cveTags":[],"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":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/iommu/iommufd/device.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6d11543bf37abdf60b8e6022a62fccfb82a5fe2e","lessThan":"adb87155b67f9759ff010c0a99559f5bffa45dcf","versionType":"git","status":"affected"},{"version":"fb21b1568adaa76af7a8c853f37c60fba8b28661","lessThan":"564ac339c0f8bada4e77a57a92bab9d3df635e07","versionType":"git","status":"affected"},{"version":"fb21b1568adaa76af7a8c853f37c60fba8b28661","lessThan":"8eb077025279304268bd58657f0af3d388822b21","versionType":"git","status":"affected"},{"version":"fb21b1568adaa76af7a8c853f37c60fba8b28661","lessThan":"ba5c0f28a26e7d9be1e0997f8920dd638e2782fd","versionType":"git","status":"affected"},{"version":"1e0216b6a58c79b5ee91c78706d5f560e4d1f56f","versionType":"git","status":"affected"},{"version":"4b23c4b991eb90cc7bca42e9f81142feedd4bb56","versionType":"git","status":"affected"},{"version":"6.12.24","lessThan":"6.12.105","versionType":"semver","status":"affected"},{"version":"6.13.12","lessThan":"6.14","versionType":"semver","status":"affected"},{"version":"6.14.3","lessThan":"6.15","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/iommu/iommufd/device.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","versionType":"semver","status":"unaffected"},{"version":"6.12.105","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.44","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.1.8","lessThanOrEqual":"7.1.*","versionType":"semver","status":"unaffected"},{"version":"7.2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/564ac339c0f8bada4e77a57a92bab9d3df635e07","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8eb077025279304268bd58657f0af3d388822b21","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/adb87155b67f9759ff010c0a99559f5bffa45dcf","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ba5c0f28a26e7d9be1e0997f8920dd638e2782fd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}