8.8high
iommu/vt-d: Disallow dirty tracking if incoherent page walk
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: iommu/vt-d: No permitir el seguimiento de páginas modificadas si el recorrido de página es incoherente El seguimiento de páginas modificadas depende de que la IOMMU actualice atómicamente el bit de página modificada en la entrada de la estructura de paginación. Para que esta operación tenga éxito, la memoria de la estructura de paginación debe ser coherente entre la IOMMU y la CPU. En otras palabras, si el recorrido de página de la iommu es incoherente, el seguimiento de páginas modificadas no funciona. La especificación Intel VT-d, Sección 3.10 'Comportamiento de Snoop' establece: 'El hardware de reasignación que encuentre la necesidad de actualizar atómicamente los bits A/EA/D en una entrada de estructura de paginación que no sea supervisada resultará en una falla no recuperable.' Para evitar que una IOMMU sea configurada incorrectamente para el seguimiento de páginas modificadas cuando opera en un modo incoherente, marque SSADS como compatible solo cuando tanto ecap_slads como ecap_smpwc sean compatibles.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40058 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-40058 changed 2026-10-19 | Public domain |