kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-80894 iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 6.12.24 이상 6.12.105 미만
    • 6.13.12 이상 6.14 미만
    • 6.14.3 이상 6.15 미만
    • 6.15

    해결 버전

    • 6.12.105 이상
    • 6.14 이상
    • 6.15 이상
    • 6.15 미만
    • 6.18.44 이상
    • 7.1.8 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의