CVE-2026-31735
published high CVSS 3.1 · 8.8iommupt: Fix short gather if the unmap goes into a large mapping
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7c53f4238aa8bfb476e177263133ead2eeb8d55d to < 50ecd96a28f712f8b682c0441f4cb9b086d28816 · 7c53f4238aa8bfb476e177263133ead2eeb8d55d to < ee6e69d032550687a3422504bfca3f834c7b5061 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.12 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: iommupt: Fix short gather if the unmap goes into a large mapping unmap has the odd behavior that it can unmap more than requested if the ending point lands within the middle of a large or contiguous IOPTE. In this case the gather should flush everything unmapped which can be larger than what was requested to be unmapped. The gather was only flushing the range requested to be unmapped, not extending to the extra range, resulting in a short invalidation if the caller hits this special condition. This was found by the new invalidation/gather test I am adding in preparation for ARMv8. Claude deduced the root cause. As far as I remember nothing relies on unmapping a large entry, so this is likely not a triggerable bug.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable unmap path is reached through local iommufd/VFIO ioctls after a process has a bound IOMMU-backed device/domain. There is no network, adjacent-radio, or physical-only packet path to this code. AC:L - The bug is deterministic once a large/contiguous IOPTE is unmapped with a request whose end falls inside that entry; this is attacker-influenced through mapping size, IOVA layout, and huge-page behavior. No uncontrollable race is required. PR:L - The attacker needs local access to an iommufd/VFIO device context, but such access can reasonably be delegated to an unprivileged VMM/container user and does not inherently require real init-namespace root. When uncertain between high and low privilege, low privilege is the higher severity choice. UI:N - After the attacker controls the local VFIO/iommufd context, triggering map and unmap operations requires no victim action. No user must open a file, mount media, or otherwise interact. S:C - The failure is an IOMMU/DMA invalidation error that can leave device DMA access beyond the kernel's intended mapping lifetime. That crosses the IOMMU isolation boundary and can affect resources outside the vulnerable component's security scope. C:H - A stale IOMMU translation can allow a device under attacker control to DMA-read physical pages after they are considered unmapped or potentially reused. This can expose arbitrary host or other-tenant memory in a plausible VFIO deployment. I:H - The same stale DMA translation can allow device DMA writes to pages no longer authorized for that mapping. Such writes can corrupt host memory or another security domain's data. A:H - Unauthorized stale DMA writes can corrupt kernel or device-owned memory and plausibly crash or hang the host. Even without full exploitation, this can produce high-impact denial of service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7c53f4238aa8bfb476e177263133ead2eeb8d55d to < 50ecd96a28f712f8b682c0441f4cb9b086d28816 (affected · git)7c53f4238aa8bfb476e177263133ead2eeb8d55d to < ee6e69d032550687a3422504bfca3f834c7b5061 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.12 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
iommupt: Fix short gather if the unmap goes into a large mapping
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b8671e4ccd6bc1d0b27e2227caa239e7094ce3aa6681652171941c7ca502f99d
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record