xen/gntdev: prevent private mappings from becoming writable

Summary

CVECVE-2026-138861
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:17:42 UTC
Updated2026-11-30 14:17:42 UTC
DescriptionIn 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).

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected ab31523c2fcac557226bac72cbdf5fafe01f9a26 819bbbdd67e6f00bc03e2e49ed0edd88d1f65af2 git Not specified
CNA Linux Linux affected ab31523c2fcac557226bac72cbdf5fafe01f9a26 a327701804bb7d806da6764f7662f5290c4a929e git Not specified
CNA Linux Linux affected ab31523c2fcac557226bac72cbdf5fafe01f9a26 7ff2ed2ffde048b17697cf5fa019aa1409a293c1 git Not specified
CNA Linux Linux affected ab31523c2fcac557226bac72cbdf5fafe01f9a26 4f6a4856d5cbf42610cca5d7ac24a7768591bfe1 git Not specified
CNA Linux Linux affected ab31523c2fcac557226bac72cbdf5fafe01f9a26 021d9c95a79b55cd21ae085a8e919b251a329b3d git Not specified
CNA Linux Linux affected ab31523c2fcac557226bac72cbdf5fafe01f9a26 a0e83ac1d99e923a01a00fbe6cd000ee9646e62d git Not specified
CNA Linux Linux affected ab31523c2fcac557226bac72cbdf5fafe01f9a26 f4a35345d97e9007028693ee32058c956dc3b09f git Not specified
CNA Linux Linux affected ab31523c2fcac557226bac72cbdf5fafe01f9a26 2176dea8d8c19cb43a9b3651bfa1cb21eab1b31a git Not specified
CNA Linux Linux affected 2.6.38 Not specified
CNA Linux Linux unaffected 2.6.38 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/4f6a4856d5cbf42610cca5d7ac24a7768591bfe1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2176dea8d8c19cb43a9b3651bfa1cb21eab1b31a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/021d9c95a79b55cd21ae085a8e919b251a329b3d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f4a35345d97e9007028693ee32058c956dc3b09f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7ff2ed2ffde048b17697cf5fa019aa1409a293c1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a327701804bb7d806da6764f7662f5290c4a929e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a0e83ac1d99e923a01a00fbe6cd000ee9646e62d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/819bbbdd67e6f00bc03e2e49ed0edd88d1f65af2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report