Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2023-54043

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

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e8d57210035b6377d424ba964961892d01127cf6 to < c44adefdcf472f946f0632f4e0ddcbf3e00b8516affected
  • e8d57210035b6377d424ba964961892d01127cf6 to < b4ff830eca097df51af10a9be29e8cc817327919affected

Linux Linux

Default version status: affected

  • 6.2affected
  • 0 to < 6.2unaffected
  • 6.2.3 to ≤ 6.2.*unaffected
  • 6.3 to ≤ *unaffected

References