CVE-2023-54043

Summary

In the Linux kernel, the following vulnerability has been resolved:

iommufd: Do not add the same hwpt to the ioas->hwpt_list twice

The hwpt is added to the hwpt_list only during its creation, it is never added again. This hunk is some missed leftover from rework. Adding it twice will corrupt the linked list in some cases.

It effects HWPT specific attachment, which is something the test suite cannot cover until we can create a legitimate struct device with a non-system iommu "driver" (ie we need the bus removed from the iommu code)

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxe8d57210035b6377d424ba964961892d01127cf6 < c44adefdcf472f946f0632f4e0ddcbf3e00b8516affected
LinuxLinuxe8d57210035b6377d424ba964961892d01127cf6 < b4ff830eca097df51af10a9be29e8cc817327919affected
LinuxLinux6.2affected
LinuxLinux0 < 6.2unaffected
LinuxLinux6.2.3 <= 6.2.*unaffected
LinuxLinux6.3 <= *unaffected

Weaknesses

References