VDB

CVE-2026-53164

CVE-2026-53164 PUBLISHED

iommu/dma: Do not try to iommu_map a 0 length region in swiotlb

Reported by linux · Published June 25, 2026

In the Linux kernel, the following vulnerability has been resolved: iommu/dma: Do not try to iommu_map a 0 length region in swiotlb iommu_dma_iova_link_swiotlb() processes a mapping that is unaligned in three parts, the head, middle and trailer. If the middle is empty because there are no aligned pages it will call down to iommu_map() with a 0 size which the iommupt implementation will fail as illegal. It then tries to do an error unwind and starts from the wrong spot corrupting the mapping so the eventual destruction triggers a WARN_ON. Check for 0 length and avoid mapping and use offset not 0 as the starting point to unlink. This is frequently triggered by using some kinds of thunderbolt NVMe drives that trigger forced SWIOTLB for unaligned memory. NVMe seems to pass in oddly aligned buffers for the passthrough commands from smartctl that hit this condition.

Fixed versions

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

PackageEcosystemFixed in
kernel6.18-tools-develAmazon Linux1:6.18.36-69.134.amzn2023
linux-gcp-6.18Chainguard6.18.38-r0
linux-azure-6.18Chainguard6.18.38-r0
python3-perf6.18Amazon Linux1:6.18.36-69.134.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.36-69.134.amzn2023
kernel6.18Amazon Linux1:6.18.36-69.134.amzn2023
linux-qemu-melangeChainguard6.18.38-r0
linux-vmware-6.18Chainguard6.18.38-r0
kernel6.18-headersAmazon Linux1:6.18.36-69.134.amzn2023
kernel-livepatch-6.18.36-69.134Amazon Linux1:1.0-0.amzn2023
kernel6.18-develAmazon Linux1:6.18.36-69.134.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.36-69.134.amzn2023

3 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux433a76207dcf5facc0183acb790f6e8398585258, 433a76207dcf5facc0183acb790f6e8398585258, 433a76207dcf5facc0183acb790f6e8398585258
LinuxLinux6.16, 0, 6.18.36
amazon:2023kernel6.18-tools-devel0
chainguardlinux-gcp-6.180
chainguardlinux-azure-6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.180
chainguardlinux-qemu-melange0
chainguardlinux-vmware-6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel-livepatch-6.18.36-69.1340
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.180
LinuxLinux7.1, 433a76207dcf5facc0183acb790f6e8398585258, 433a76207dcf5facc0183acb790f6e8398585258
chainguardlinux-qemu-6.180
amazon:2023kernel6.18-tools0
amazon:2023microvm-kernel6.180
linuxlinux_kernel6.16, 6.16, 6.16

…and 1 more

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 26, 2026 EPSS Score (9 in total, the first dated here)
  • Jun 26, 2026 Coalition ESS Score
  • Jun 29, 2026 Security Advisory (64 in total, the first dated here)
  • Aug 10, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53164
vulnetix vdb fixes CVE-2026-53164

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-53164/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 ›