CVE-2026-53164

Source
https://cve.org/CVERecord?id=CVE-2026-53164
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53164.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53164
Downstream
Related
Published
2026-06-25T08:38:44.770Z
Modified
2026-07-09T18:30:40.173323388Z
Summary
iommu/dma: Do not try to iommu_map a 0 length region in swiotlb
Details

In the Linux kernel, the following vulnerability has been resolved:

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

iommudmaiovalinkswiotlb() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53164.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
433a76207dcf5facc0183acb790f6e8398585258
Fixed
ab61c990a87d084f5565ee70340543e3a5394697
Fixed
b16f8d40bac9ced838d24c9842707af9ecae92e2
Fixed
6ec91df8aff77e2e8fe3179c1f3fc15b43a40ba3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53164.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.36
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53164.json"