Linux
iommu/vt-d: Disallow dirty tracking if incoherent page walk
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f35f22cc760eb2c7034bf53251399685d611e03f, < ebe16d245a00626bb87163862a1b07daf5475a3e
- >= f35f22cc760eb2c7034bf53251399685d611e03f, < 8d096ce0e87bdc361f0b25d7943543bc53aa0b9e
- >= f35f22cc760eb2c7034bf53251399685d611e03f, < 57f55048e564dedd8a4546d018e29d6bbfff0a7e
Fixed in ebe16d245a00626bb87163862a1b07daf5475a3e, 8d096ce0e87bdc361f0b25d7943543bc53aa0b9e, 57f55048e564dedd8a4546d018e29d6bbfff0a7e
- 6.7
Fixed in 0, 6.12.53, 6.17.3, 6.18
Mitigation
Upgrade Linux to ebe16d245a00626bb87163862a1b07daf5475a3e or 8d096ce0e87bdc361f0b25d7943543bc53aa0b9e or 57f55048e564dedd8a4546d018e29d6bbfff0a7e or later.
Upgrade Linux to 0 or 6.12.53 or 6.17.3 or 6.18 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.