VDB

CVE-2025-40058

CVE-2025-40058 PUBLISHED CVSS 8.8 HIGH

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

Reported by linux · Published October 28, 2025

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.

EPSS 0.17% · 6.0th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extraAmazon Linux1:6.12.53-69.119.amzn2023
kernel6.12-libbpfAmazon Linux1:6.12.53-69.119.amzn2023
python3-perf6.12Amazon Linux1:6.12.53-69.119.amzn2023
perf6.12Amazon Linux1:6.12.53-69.119.amzn2023
kernel-livepatch-6.12.53-69.119Amazon Linux1:1.0-0.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.53-69.119.amzn2023
kernel6.12Amazon Linux1:6.12.53-69.119.amzn2023

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score
0.17%
6.0th percentile

Affected products

VendorProductVersions
LinuxLinuxf35f22cc760eb2c7034bf53251399685d611e03f, f35f22cc760eb2c7034bf53251399685d611e03f, f35f22cc760eb2c7034bf53251399685d611e03f
LinuxLinux6.7, 0, 6.12.53
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-libbpf0
amazon:2023python3-perf6.120
amazon:2023perf6.120
amazon:2023kernel-livepatch-6.12.53-69.1190
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.120
linuxlinux_kernel6.7, 6.7, 6.7
LinuxLinux6.7, *, *
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-devel0
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-tools-devel0

Timeline

  • Oct 12, 2025 PoC Published (5 in total, the first dated here)
  • Oct 27, 2025 CVE Published
  • Oct 28, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 28, 2025 Coalition ESS Score (7 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (140 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (131 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40058
vulnetix vdb fixes CVE-2025-40058

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40058/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›