Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40058

published high CVSS 3.1 · 8.8

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

Published
28 Oct 2025, 11:48:31 UTC
Updated
05 Aug 2026, 12:07:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf35f22cc760eb2c7034bf53251399685d611e03f to < ebe16d245a00626bb87163862a1b07daf5475a3e · f35f22cc760eb2c7034bf53251399685d611e03f to < 8d096ce0e87bdc361f0b25d7943543bc53aa0b9e · f35f22cc760eb2c7034bf53251399685d611e03f to < 57f55048e564dedd8a4546d018e29d6bbfff0a7e · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.53 through 6.12.* (unaffected · semver) · 6.17.3 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1254 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.20.1.el10_1 ALSA-2025:22854
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.20.1.el10_1 ALSA-2025:22854
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-debug Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-devel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-doc Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-headers Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-modules Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-tools Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 libperf Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 perf Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 python3-perf Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 rtla Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
AlmaLinux 9 rv Advisory build 5.14.0-611.11.1.el9_7 ALSA-2025:22405
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-124.20.1.el10_1 ELSA-2025-22854

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

42

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable configuration is reached only through local ioctls on /dev/iommu (IOMMU_HWPT_ALLOC with IOMMU_HWPT_ALLOC_DIRTY_TRACKING, then IOMMU_HWPT_SET_DIRTY_TRACKING) against a bound VFIO device fd. There is no network-facing path into the VT-d dirty-tracking code. AC:L - On an affected IOMMU the attacker deterministically allocates the dirty-tracking hwpt and enables SSADE with two ioctls — no race to win and no memory layout to groom. Where the IOMMU is emulated for a guest, the ecap_slads=1/ecap_smpwc=0 combination is itself under attacker or hypervisor control. PR:L - Access to /dev/iommu plus a VFIO device fd is required, which in standard device-assignment deployments is delegated to the unprivileged VMM user (qemu/libvirt) rather than requiring real root. A compromised VMM process or a user in a device-assignment group can drive the entire sequence. UI:N - The full sequence — hwpt allocation, dirty-tracking enable, and the subsequent device DMA — is driven entirely by the attacker's own process and the device it already controls. No victim action is needed. S:C - The defect is in the IOMMU's own DMA-isolation enforcement: SSADE is programmed on hardware that cannot coherently update paging-structure entries, and the unflushed cached RMW in intel_iommu_read_and_clear_dirty() can resurrect stale second-stage PTEs. An assigned device's DMA then reaches memory outside its authorized translation, crossing the IOMMU security boundary. C:H - Stale or incorrectly-updated second-stage paging entries leave a device-visible mapping to host pages that have been unmapped and potentially reassigned, giving the controlled device DMA reads of arbitrary host memory. Dirty-bitmap results are also unreliable, leaking incorrect state across a migration boundary. I:H - The same stale-translation window gives the assigned device DMA writes into host memory outside its mapping — an arbitrary write primitive from the device side that defeats IOMMU containment. Silently missed dirty pages additionally corrupt guest memory state on live migration. A:H - The VT-d specification mandates a non-recoverable fault whenever the hardware must atomically update A/EA/D bits in a non-snooped paging-structure entry, so the assigned device's DMA is blocked outright and the DMAR fault handler is driven repeatedly. The device and any VM depending on it are rendered inoperable.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f35f22cc760eb2c7034bf53251399685d611e03f to < ebe16d245a00626bb87163862a1b07daf5475a3e (affected · git)f35f22cc760eb2c7034bf53251399685d611e03f to < 8d096ce0e87bdc361f0b25d7943543bc53aa0b9e (affected · git)f35f22cc760eb2c7034bf53251399685d611e03f to < 57f55048e564dedd8a4546d018e29d6bbfff0a7e (affected · git)Default: unaffected Linux · cna
Linux Linux 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.53 through 6.12.* (unaffected · semver)6.17.3 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
b1ffd8c0f5dea816d356695a1a5db323eae7761da14fb8f0f496531ffd4a625a
Ingested
23 Sep 2026, 08:48:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected