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.
Published: 2026-08-12
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vc4 DRM driver incorrectly leaves the VM_MAYWRITE flag set after rejecting writable mappings of shader buffer objects that have already been validated. This oversight lets a user process map a shader object read‑only, then call mprotect to change the mapping to writable, rewrite the validated shader code, and execute arbitrary GPU instructions. The vulnerability therefore bypasses the shader validator and enables uncontrolled GPU code execution and potential data leakage. The impact is an access‑control bypass that could lead to arbitrary code execution within the GPU context; it does not explicitly grant kernel privilege escalation.

Affected Systems

Linux kernels running a vc4 DRM driver that predates the patch commit 019e6ad247f7fd038d2e009789f6d9bfcccb1ae7 are affected. All systems using the driver, regardless of the specific hardware, are vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, raising the risk level. The EPSS score is less than 1 %, indicating a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. The most likely attack vector is local: any process that has permission to open the DRM device can exploit the flaw. If successful, the attacker can alter validated shader code, potentially enabling arbitrary GPU code execution or information disclosure. These details are inferred from the description; the CVE does not state the exact exploitation conditions.

Generated by OpenCVE AI on August 14, 2026 at 00:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes commit 019e6ad247f7fd038d2e009789f6d9bfcccb1ae7 or later.
  • Reboot the system so the updated kernel and the patched vc4 DRM driver are loaded.
  • Restrict access to the DRM device (e.g., assign /dev/dri to a privileged group and remove write permissions for untrusted users) to reduce the attack surface.

Generated by OpenCVE AI on August 14, 2026 at 00:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Thu, 13 Aug 2026 23:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 13 Aug 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-265
CWE-284

Thu, 13 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-179
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Wed, 12 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-265
CWE-284

Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
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.
Title drm/vc4: Prevent shader BO mappings from becoming writable
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:05:42.989Z

Reserved: 2026-07-30T09:28:09.394Z

Link: CVE-2026-68445

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-12T00:17:44.860

Modified: 2026-08-17T06:17:53.560

Link: CVE-2026-68445

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-12T00:00:00Z

Links: CVE-2026-68445 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T01:00:05Z

Weaknesses
  • CWE-179

    Incorrect Behavior Order: Early Validation