CVE-2026-138861
publishedxen/gntdev: prevent private mappings from becoming writable
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxab31523c2fcac557226bac72cbdf5fafe01f9a26 to < 819bbbdd67e6f00bc03e2e49ed0edd88d1f65af2 · ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < a327701804bb7d806da6764f7662f5290c4a929e · ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < 7ff2ed2ffde048b17697cf5fa019aa1409a293c1 · ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < 4f6a4856d5cbf42610cca5d7ac24a7768591bfe1 · ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < 021d9c95a79b55cd21ae085a8e919b251a329b3d · ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < a0e83ac1d99e923a01a00fbe6cd000ee9646e62d · ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < f4a35345d97e9007028693ee32058c956dc3b09f · ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < 2176dea8d8c19cb43a9b3651bfa1cb21eab1b31a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.38 (affected) · 0 to < 2.6.38 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: xen/gntdev: prevent private mappings from becoming writable gntdev_mmap() rejects writable private (non-shared) mappings of foreign grant pages, because a private writable mapping takes the COW path on pages that have no proper struct-page backing. However, VM_MAYWRITE is left set, so userspace can map the grant read-only and then upgrade the mapping to writable with mprotect(), hitting the same COW path the check was written to prevent. Clear VM_MAYWRITE for private mappings, as i915 does for its read-only objects and as fixed in drm/vc4 (CVE-2026-68445) and drm/panthor (CVE-2024-53071) and ptp: vmclock (commit a5edadbae57e2298a56cf7a4e774a027905a331f).
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.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < 819bbbdd67e6f00bc03e2e49ed0edd88d1f65af2 (affected · git)ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < a327701804bb7d806da6764f7662f5290c4a929e (affected · git)ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < 7ff2ed2ffde048b17697cf5fa019aa1409a293c1 (affected · git)ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < 4f6a4856d5cbf42610cca5d7ac24a7768591bfe1 (affected · git)ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < 021d9c95a79b55cd21ae085a8e919b251a329b3d (affected · git)ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < a0e83ac1d99e923a01a00fbe6cd000ee9646e62d (affected · git)ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < f4a35345d97e9007028693ee32058c956dc3b09f (affected · git)ab31523c2fcac557226bac72cbdf5fafe01f9a26 to < 2176dea8d8c19cb43a9b3651bfa1cb21eab1b31a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.38 (affected)0 to < 2.6.38 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/021d9c95a79b55cd21ae085a8e919b251a329b3d
- https://git.kernel.org/stable/c/2176dea8d8c19cb43a9b3651bfa1cb21eab1b31a
- https://git.kernel.org/stable/c/4f6a4856d5cbf42610cca5d7ac24a7768591bfe1
- https://git.kernel.org/stable/c/7ff2ed2ffde048b17697cf5fa019aa1409a293c1
- https://git.kernel.org/stable/c/819bbbdd67e6f00bc03e2e49ed0edd88d1f65af2
- https://git.kernel.org/stable/c/a0e83ac1d99e923a01a00fbe6cd000ee9646e62d
- https://git.kernel.org/stable/c/a327701804bb7d806da6764f7662f5290c4a929e
- https://git.kernel.org/stable/c/f4a35345d97e9007028693ee32058c956dc3b09f
Provider assertions
1Linux · cna
xen/gntdev: prevent private mappings from becoming writable
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c94b4e6655b1fdf99bfc0d5aa5172ab595b84c754e35bc4cf9a73a5d5542abfc
- Ingested
- 30 Nov 2026, 13:30:06 UTC
- Source record
- Official CVE record