# CVE-2025-40058: iommu/vt-d: Disallow dirty tracking if incoherent page walk

- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-10-28T11:48:31.567Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

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

iommu/vt-d: Disallow dirty tracking if incoherent page walk

Dirty page tracking relies on the IOMMU atomically updating the dirty bit
in the paging-structure entry. For this operation to succeed, the paging-
structure memory must be coherent between the IOMMU and the CPU. In
another word, if the iommu page walk is incoherent, dirty page tracking
doesn't work.

The Intel VT-d specification, Section 3.10 "Snoop Behavior" states:

"Remapping hardware encountering the need to atomically update A/EA/D bits
 in a paging-structure entry that is not snooped will result in a non-
 recoverable fault."

To prevent an IOMMU from being incorrectly configured for dirty page
tracking when it is operating in an incoherent mode, mark SSADS as
supported only when both ecap_slads and ecap_smpwc are supported.

(As written by CVE List.)

## Affected

- Linux Linux: from f35f22cc760eb2c7034bf53251399685d611e03f before ebe16d245a00626bb87163862a1b07daf5475a3e; from f35f22cc760eb2c7034bf53251399685d611e03f before 8d096ce0e87bdc361f0b25d7943543bc53aa0b9e; from f35f22cc760eb2c7034bf53251399685d611e03f before 57f55048e564dedd8a4546d018e29d6bbfff0a7e; 6.7 (not affected: before 6.7; from 6.12.53 up to 6.12.*; from 6.17.3 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/ebe16d245a00626bb87163862a1b07daf5475a3e>
- <https://git.kernel.org/stable/c/8d096ce0e87bdc361f0b25d7943543bc53aa0b9e>
- <https://git.kernel.org/stable/c/57f55048e564dedd8a4546d018e29d6bbfff0a7e>

## Sources

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

---

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