Linux kernel scatterlist length overflow in IOMMU DMA mapping
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Specific setups only
Summary
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:
- silently wrapping the value
- smaller than desired mappings produced by iommu_map_sg
- leaving mapped bytes in memory (no iommu_unmap)
Address this issue by adding overflow detection for scatterlist length field.
What to do
Check whether your setup matches what the bug needs.
A very large mapping uses only one scatterlist, so padding can overflow the scatterlist length field. Two adjacent physically contiguous segments must together cross the 4GB PCI segment boundary. The device must be in an IOMMU DMA domain.Workaround: The checked facts give no workaround and do not name a mitigation for the period before a fix. Until a fixed kernel is available, the sources do not offer a specific step to limit the exposure.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138854 (iommu/dma: Catch scatterlist length overflows), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138854 (entry last updated 2026-12-01):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 4.7
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- A very large mapping uses only one scatterlist, so padding can overflow the scatterlist length field. (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c267a09141bc992fd59f1b09017ed86290478221)
- Two adjacent physically contiguous segments must together cross the 4GB PCI segment boundary. (source: https://www.cve.org/CVERecord?id=CVE-2026-138854)
- The device must be in an IOMMU DMA domain. (source: https://www.cve.org/CVERecord?id=CVE-2026-138854)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-138854 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138854 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/c267a09141bc992fd59f1b09017ed86290478221
- https://git.kernel.org/stable/c/0ae29e4fb90f019ac88672e6a268ef76de47b22f
- https://git.kernel.org/stable/c/e092174b31d8591e13bbcfeb96553912a315d66e
- https://git.kernel.org/stable/c/5706fc3df84087b067804019e664338610437b6b
- https://git.kernel.org/stable/c/5b5fc4c1bf4745e208d113cafd3a00d2a3772889
- https://git.kernel.org/stable/c/0ec1d83baa7b319374e3071f48946240149efb74
- https://git.kernel.org/stable/c/621e1976d48b2b345e1e2cee8efb21efe4a43487
- https://git.kernel.org/stable/c/1c8f6308e557f32412e9d4678b3f029f47f6d9aa
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138854
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138854"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux4.7
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity7.8/10CVSS 7.8
- No patch5/5No patch listed yet
What would change the score
- Would score about 88 if added to CISA KEV
- Would score about 83 if CISA's SSVC rates exploitation active
- Would score about 48 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 10
Questions about CVE-2026-138854
Is CVE-2026-138854 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The bug is in the Linux kernel's IOMMU DMA code, where a very large mapping that uses only one scatterlist can overflow the scatterlist length field when padding is added. The advisory calls this an IOMMU isolation bypass, meaning device DMA can reach host memory outside the granted buffers, which can enable kernel memory leaks, memory corruption, possible privilege escalation, and crashes.
Source: git.kernel.org, cve.org
Which versions are affected by CVE-2026-138854?
Linux: version 4.7.
Source: cve.now feed data
Am I affected, and how do I check?
The sources list Linux without version ranges, so the affected kernel versions are not stated in the checked facts. The conditions are a very large mapping using one scatterlist, two adjacent physically contiguous segments that together cross the 4GB PCI segment boundary, and a device in an IOMMU DMA domain. To check a system, compare its kernel version (uname -r) against the advisory's version list and see whether its devices use IOMMU DMA translation.
Source: git.kernel.org, cve.org
How do I fix CVE-2026-138854?
The checked facts name no fixed version and no patch identifier, so no upgrade target can be stated from them. Check the Linux kernel advisory for CVE-2026-138854 for the fixed kernel builds or patch references.
Source: git.kernel.org, cve.org
What if there's no patch?
The checked facts give no workaround and do not name a mitigation for the period before a fix. Until a fixed kernel is available, the sources do not offer a specific step to limit the exposure.
Source: git.kernel.org, cve.org
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.