drm/vc4: Prevent shader BO mappings from becoming writable

Summary

CVECVE-2026-68445
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-12 00:17:44 UTC
Updated2026-08-12 00:17:44 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: drm/vc4: Prevent shader BO mappings from becoming writable vc4_gem_object_mmap() rejects a writable mapping of a validated shader BO, but leaves VM_MAYWRITE set. Userspace can map the BO read-only and then turn it writable with mprotect(). Validated shader BOs must stay read-only: the validator checks the instructions once and the GPU trusts them afterwards. A writable mapping lets userspace rewrite the code after validation, bypassing the validator. Clear VM_MAYWRITE on the read-only path so the mapping cannot be upgraded, as i915 already does for its read-only objects.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 463873d5701427f2964a0b4b72c45f1f14b6df87 9f0ee411fc2d76333d6087c5862ffa907cf7a175 git Not specified
CNA Linux Linux affected 463873d5701427f2964a0b4b72c45f1f14b6df87 019e6ad247f7fd038d2e009789f6d9bfcccb1ae7 git Not specified
CNA Linux Linux affected 463873d5701427f2964a0b4b72c45f1f14b6df87 6deaa317201851c644c431b57682e54d06b35838 git Not specified
CNA Linux Linux affected 463873d5701427f2964a0b4b72c45f1f14b6df87 fe168ef1d232d734d9998fd74822e2e20930dfff git Not specified
CNA Linux Linux affected 463873d5701427f2964a0b4b72c45f1f14b6df87 0c9e6367639548307d3f578f6943ce72c9d39087 git Not specified
CNA Linux Linux affected 4.5 Not specified
CNA Linux Linux unaffected 4.5 semver Not specified
CNA Linux Linux unaffected 6.6.148 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.101 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.42 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.6 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc5 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/6deaa317201851c644c431b57682e54d06b35838 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9f0ee411fc2d76333d6087c5862ffa907cf7a175 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/019e6ad247f7fd038d2e009789f6d9bfcccb1ae7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fe168ef1d232d734d9998fd74822e2e20930dfff 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0c9e6367639548307d3f578f6943ce72c9d39087 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