CVE-2025-40058: Linux kernel · iommu/vt-d: Disallow dirty tracking if incoherent page walk
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.8 High · fixed in 6.8.0-1052.55~22.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1052.55~22.04.1, 6.8.0-1051.57~22.04.1, 6.8.0-1050.53~22.04.1 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| linux-hwe-edge | Affected
| Fixed in
|
AI-suggested
A fix has been implemented in the Linux kernel to prevent enabling dirty page tracking when the IOMMU page walk is incoherent by marking SSADS as supported only when both ecap_slads and ecap_smpwc are supported. Users should apply the official Linux kernel updates that include this fix. Patch status is not explicitly stated here; check the Linux kernel vendor advisory for the latest remediation guidance.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40058 (opens in a new tab)
- git.kernel.org/stable/c/57f55048e564dedd8a4546d018e29d6bbfff0a7e (opens in a new tab)
- git.kernel.org/stable/c/8d096ce0e87bdc361f0b25d7943543bc53aa0b9e (opens in a new tab)
- git.kernel.org/stable/c/ebe16d245a00626bb87163862a1b07daf5475a3e (opens in a new tab)
- ubuntu.com/security/CVE-2025-40058 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40058 (opens in a new tab)
- git.kernel.org/linus/57f55048e564dedd8a4546d018e29d6bbfff0a7e (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8100-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8125-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8126-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-8165-1 (opens in a new tab)