VDB

CVE-2026-68329

CVE-2026-68329 PUBLISHED CVSS 8.8 HIGH

iommu/amd: Wait for completion instead of returning early in iommu_completion_wait()

Reported by linux · Published August 10, 2026

In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Wait for completion instead of returning early in iommu_completion_wait() need_sync is a per-IOMMU flag shared by all domains and devices behind that IOMMU. It is set whenever a command is queued with sync == true and cleared when a completion-wait (CWAIT) command is queued. However, a cleared need_sync only means that a covering CWAIT has been queued, not that all previously queued commands have actually completed in hardware. iommu_completion_wait() read need_sync locklessly and returned early when it was false. This breaks the "block until all previously queued commands have completed" contract in a multi-CPU scenario: CPU2: queue inv-B => need_sync = true CPU1: queue CWAIT(N); need_sync = false; then wait_on_sem(N) CPU2: read need_sync == false => return 0 (no wait!) CPU2 returns without waiting for any sequence number even though its inv-B may not have completed yet (CWAIT(N), queued after inv-B, has not been signaled). CPU2 then proceeds to, for example, free page-table pages while the IOMMU can still walk stale translations, opening a use-after-free window. This is a logical race in the meaning of the flag, not a memory-visibility issue, so barriers alone do not help. Fix it without losing the optimization of avoiding redundant CWAIT commands: take iommu->lock before testing need_sync, and when it is false do not return early but wait for the last allocated sequence number (cmd_sem_val). Since need_sync == false implies no sync command was queued after the last CWAIT, that CWAIT is FIFO-ordered after every not-yet-completed command, so waiting for its sequence number guarantees all prior commands (possibly queued by another CPU) have completed. The common path with pending work is unchanged and no extra hardware command is issued.

Fixed versions

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

PackageEcosystemFixed in
python3-perf6.12Amazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.103-127.188.amzn2023
kernel-livepatch-6.12.103-127.188Amazon Linux1:1.0-0.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.44-99.149.amzn2023
kernel6.18Amazon Linux1:6.18.44-99.149.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.103-127.188.amzn2023
bpftool6.18Amazon Linux1:6.18.44-99.149.amzn2023
kernel6.12-develAmazon Linux1:6.12.103-127.188.amzn2023
perf6.18Amazon Linux1:6.18.44-99.149.amzn2023
python3-perf6.18Amazon Linux1:6.18.44-99.149.amzn2023
LinuxLinuxd053eb7e09e10cbdca3fca8b35c1017d438091b2, ab7faf5a172ebfdc423ebb3eea4d472740de82f9, 93494bd446396c257fb589f59894577e96e406e2, 82c9a749d44efaaa1a1c781f8a6cf1747718f228, 1e75a8255f11c81fb07e81e5029cfd75804350a0, 02f8cefa2ad95ea3754f0cfd6fbae7f866202ccb

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

Affected products

VendorProductVersions
LinuxLinux815b33fdc279d34ab40a8bfe1866623a4cc5669b, 815b33fdc279d34ab40a8bfe1866623a4cc5669b, 815b33fdc279d34ab40a8bfe1866623a4cc5669b
LinuxLinux3.0, 0, 6.1.191
amazon:2023python3-perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.12.103-127.1880
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023kernel6.12-devel0
amazon:2023perf6.180
amazon:2023python3-perf6.180
LinuxLinux7.2, 815b33fdc279d34ab40a8bfe1866623a4cc5669b, 815b33fdc279d34ab40a8bfe1866623a4cc5669b
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-headers0
amazon:2023kernel-livepatch-6.18.44-99.1490

…and 7 more

Timeline

  • Aug 10, 2026 CVE Published
  • Aug 11, 2026 Coalition ESS Score
  • Aug 21, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (11 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68329
vulnetix vdb fixes CVE-2026-68329

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-2026-68329/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 ›