CVE-2026-53164
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| linux-gcp-6.18 | Chainguard | 6.18.38-r0 |
| linux-azure-6.18 | Chainguard | 6.18.38-r0 |
| python3-perf6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| linux-qemu-melange | Chainguard | 6.18.38-r0 |
| linux-vmware-6.18 | Chainguard | 6.18.38-r0 |
| kernel6.18-headers | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel-livepatch-6.18.36-69.134 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
3 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 433a76207dcf5facc0183acb790f6e8398585258, 433a76207dcf5facc0183acb790f6e8398585258, 433a76207dcf5facc0183acb790f6e8398585258 |
| Linux | Linux | 6.16, 0, 6.18.36 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| chainguard | linux-gcp-6.18 | 0 |
| chainguard | linux-azure-6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18 | 0 |
| chainguard | linux-qemu-melange | 0 |
| chainguard | linux-vmware-6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.36-69.134 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| Linux | Linux | 7.1, 433a76207dcf5facc0183acb790f6e8398585258, 433a76207dcf5facc0183acb790f6e8398585258 |
| chainguard | linux-qemu-6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| linux | linux_kernel | 6.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