# CVE-2026-45945: iommu/vt-d: Fix race condition during PASID entry replacement

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-02)
- Published: 2026-05-27T12:18:01.345Z
- Modified: 2026-10-19T20:18:22.137Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

iommu/vt-d: Fix race condition during PASID entry replacement

The Intel VT-d PASID table entry is 512 bits (64 bytes). When replacing
an active PASID entry (e.g., during domain replacement), the current
implementation calculates a new entry on the stack and copies it to the
table using a single structure assignment.

        struct pasid_entry *pte, new_pte;

        pte = intel_pasid_get_entry(dev, pasid);
        pasid_pte_config_first_level(iommu, &new_pte, ...);
        *pte = new_pte;

Because the hardware may fetch the 512-bit PASID entry in multiple
128-bit chunks, updating the entire entry while it is active (Present
bit set) risks a "torn" read. In this scenario, the IOMMU hardware
could observe an inconsistent state — partially new data and partially
old data — leading to unpredictable behavior or spurious faults.

Fix this by removing the unsafe "replace" helpers and following the
"clear-then-update" flow, which ensures the Present bit is cleared and
the required invalidation handshake is completed before the new
configuration is applied.

(As written by CVE List.)

## Affected

- Linux Linux: from 7543ee63e8113aa34b07df3b16b3b9d2c5f73939 before 4718007870547e1efebbdd6745d9fce58f008fef; from 7543ee63e8113aa34b07df3b16b3b9d2c5f73939 before 66a7aff480a82b8642b3991fed5fdc9780022157; from 7543ee63e8113aa34b07df3b16b3b9d2c5f73939 before c3b1edea3791fa91ab7032faa90355913ad9451b; 6.13 (not affected: before 6.13; from 6.18.39 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.13 before 6.19.4

## References

- <https://git.kernel.org/stable/c/4718007870547e1efebbdd6745d9fce58f008fef>
- <https://git.kernel.org/stable/c/66a7aff480a82b8642b3991fed5fdc9780022157> (patch)
- <https://git.kernel.org/stable/c/c3b1edea3791fa91ab7032faa90355913ad9451b> (patch)

## Sources

- CVE List: [CVE-2026-45945](https://www.cve.org/CVERecord?id=CVE-2026-45945), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-45945](https://nvd.nist.gov/vuln/detail/CVE-2026-45945), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-45945 · Whole record: https://cve.day/CVE-2026-45945.json · Rebuilt by cve.day 2026-11-25T22:59:22.516Z
