CVE-2026-138854: iommu/dma: Catch scatterlist length overflows
In the Linux kernel, the following vulnerability has been resolved:
iommu/dma: Catch scatterlist length overflows
It is possible, when a very large mapping uses only one scatterlist, that padding overflows scatterlist's length field. This results in: 1) silently wrapping the value 2) smaller than desired mappings produced by iommumapsg 3) leaving mapped bytes in memory (no iommuunmap)
Address this issue by adding overflow detection for scatterlist length field.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1
Event History
Frequently Asked Questions
What conditions are required to trigger the issue?
The condition requires a very large DMA mapping that uses only one scatterlist entry. Padding must cause the scatterlist length field to overflow.
What is the practical impact if the overflow occurs?
The scatterlist length can silently wrap, causing iommu_map_sg to create a mapping smaller than intended. Bytes beyond that mapping may remain mapped because they are not unmapped by iommu_unmap.
How can I determine whether a system may be affected?
Review DMA mapping paths for very large mappings represented by a single scatterlist entry, particularly where padding could exceed the scatterlist length field. The provided information does not identify affected kernel versions or a runtime detection method.