CVE-2026-53164

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

published June 25, 2026

CVSS
—
EPSS
0%
Percentile
1.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00121 · 1.8th percentile
Published
2026-06-25T08:38Z
EPSS history
Timeline
  • 25 JUN 08:38Z
    iommu/dma: Do not try to iommu_map a 0 length region in swiotlb
    cvelistv5