CVE-2026-45944 Details
Description
In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Clear Present bit before tearing down context entry When tearing down a context entry, the current implementation zeros the entire 128-bit entry using multiple 64-bit writes. This creates a window where the hardware can fetch a "torn" entry — where some fields are already zeroed while the 'Present' bit is still set — leading to unpredictable behavior or spurious faults. While x86 provides strong write ordering, the compiler may reorder writes to the two 64-bit halves of the context entry. Even without compiler reordering, the hardware fetch is not guaranteed to be atomic with respect to multiple CPU writes. Align with the "Guidance to Software for Invalidations" in the VT-d spec (Section 6.5.3.3) by implementing the recommended ownership handshake: 1. Clear only the 'Present' (P) bit of the context entry first to signal the transition of ownership from hardware to software. 2. Use dma_wmb() to ensure the cleared bit is visible to the IOMMU. 3. Perform the required cache and context-cache invalidation to ensure hardware no longer has cached references to the entry. 4. Fully zero out the entry only after the invalidation is complete. Also, add a dma_wmb() to context_set_present() to ensure the entry is fully initialized before the 'Present' bit becomes visible.
A vulnerability exists in the Linux kernel's IOMMU VT-d implementation regarding the management of context entries. When a context entry is being removed, the current method zeros out the entire 128-bit entry through multiple 64-bit writes. This process can create a 'torn' entry, where some fields are cleared while the 'Present' bit remains set, potentially leading to unpredictable behavior or spurious faults. Although x86 architecture ensures strong write ordering, the compiler might reorder writes to the two 64-bit halves of the context entry. Furthermore, the hardware fetch is not guaranteed to be atomic across multiple CPU writes. This vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by modifying the context entry handling to align with the VT-d specification. The 'Present' bit is now cleared first to signal the transition of ownership from hardware to software, followed by a cache and context-cache invalidation to ensure the hardware no longer has references to the entry. Only after these steps is the entry fully zeroed out. Users should update to the latest version of the Linux kernel where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/a922dbafb4a674d958d702038232d09a30daf770 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c1e4f1dccbe9d7656d1c6872ebeadb5992d0aaa2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c716a59e9977d751e5eb54bcfa6a80124cb5067b | kernel.org | |
| https://git.kernel.org/stable/c/d2138abc8f0a7fce4101b7229b43b06811ed083d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.24, < 6.18.14 >= 6.19, < 6.19.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 16, 2026 | Initial Analysis | [email protected] |
| May 30, 2026 | CVE Modified | kernel.org |
| May 27, 2026 | New CVE Received | kernel.org |