CVE-2026-138861
not scored yetxen/gntdev: prevent private mappings from becoming writable
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).
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= ab31523c2fcac557226bac72cbdf5fafe01f9a26, < 819bbbdd67e6f00bc03e2e49ed0edd88d1f65af2; >= ab31523c2fcac557226bac72cbdf5fafe01f9a26, < a327701804bb7d806da6764f7662f5290c4a929e; >= ab31523c2fcac557226bac72cbdf5fafe01f9a26, < 7ff2ed2ffde048b17697cf5fa019aa1409a293c1; >= ab31523c2fcac557226bac72cbdf5fafe01f9a26, < 4f6a4856d5cbf42610cca5d7ac24a7768591bfe1; >= ab31523c2fcac557226bac72cbdf5fafe01f9a26, < 021d9c95a79b55cd21ae085a8e919b251a329b3d; >= ab31523c2fcac557226bac72cbdf5fafe01f9a26, < a0e83ac1d99e923a01a00fbe6cd000ee9646e62d; >= ab31523c2fcac557226bac72cbdf5fafe01f9a26, < f4a35345d97e9007028693ee32058c956dc3b09f; >= ab31523c2fcac557226bac72cbdf5fafe01f9a26, < 2176dea8d8c19cb43a9b3651bfa1cb21eab1b31a | 819bbbdd67e6f00bc03e2e49ed0edd88d1f65af2, a327701804bb7d806da6764f7662f5290c4a929e, 7ff2ed2ffde048b17697cf5fa019aa1409a293c1, 4f6a4856d5cbf42610cca5d7ac24a7768591bfe1, 021d9c95a79b55cd21ae085a8e919b251a329b3d, a0e83ac1d99e923a01a00fbe6cd000ee9646e62d, f4a35345d97e9007028693ee32058c956dc3b09f, 2176dea8d8c19cb43a9b3651bfa1cb21eab1b31a |
| CVE List | Linux | Linux | = 2.6.38 |
References
- 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
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)