# CVE-2026-68445: drm/vc4: Prevent shader BO mappings from becoming writable

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-02)
- Published: 2026-08-12T00:07:36.230Z
- Modified: 2026-10-30T13:19:45.717Z
- Assigned by: Linux

## Description

In 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 463873d5701427f2964a0b4b72c45f1f14b6df87 before 4c98260a967e8536c69437b8da8eea3188cd6db8; from 463873d5701427f2964a0b4b72c45f1f14b6df87 before 9f0ee411fc2d76333d6087c5862ffa907cf7a175; from 463873d5701427f2964a0b4b72c45f1f14b6df87 before 019e6ad247f7fd038d2e009789f6d9bfcccb1ae7; from 463873d5701427f2964a0b4b72c45f1f14b6df87 before 6deaa317201851c644c431b57682e54d06b35838; from 463873d5701427f2964a0b4b72c45f1f14b6df87 before fe168ef1d232d734d9998fd74822e2e20930dfff; from 463873d5701427f2964a0b4b72c45f1f14b6df87 before 0c9e6367639548307d3f578f6943ce72c9d39087; 4.5 (not affected: before 4.5; from 6.1.191 up to 6.1.*; from 6.6.148 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/4c98260a967e8536c69437b8da8eea3188cd6db8>
- <https://git.kernel.org/stable/c/9f0ee411fc2d76333d6087c5862ffa907cf7a175>
- <https://git.kernel.org/stable/c/019e6ad247f7fd038d2e009789f6d9bfcccb1ae7>
- <https://git.kernel.org/stable/c/6deaa317201851c644c431b57682e54d06b35838>
- <https://git.kernel.org/stable/c/fe168ef1d232d734d9998fd74822e2e20930dfff>
- <https://git.kernel.org/stable/c/0c9e6367639548307d3f578f6943ce72c9d39087>

## Sources

- CVE List: [CVE-2026-68445](https://www.cve.org/CVERecord?id=CVE-2026-68445), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-68445](https://nvd.nist.gov/vuln/detail/CVE-2026-68445), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-68445 · Whole record: https://cve.day/CVE-2026-68445.json · Rebuilt by cve.day 2026-11-25T22:59:32.533Z
