Description
In the Linux kernel, the following vulnerability has been resolved:

drm/v3d: Skip CSD when it has zeroed workgroups

A compute shader dispatch encodes its workgroup counts in the CFG0..CFG2
registers. Kicking off a dispatch with a zero count in any of the three
dimensions is invalid. First, the hardware will process 0 as 65536,
while the user-space driver exposes a maximum of 65535. Over that, a
submission with a zeroed workgroup dimension should be a no-op.

These zeroed counts can reach the dispatch path through an indirect CSD
job, whose workgroup counts are only known once the indirect buffer is
read and may legitimately be zero, but such scenario should only result in
a no-op.

Overwrite the indirect CSD job workgroup counts with the indirect BO
ones, even if they are zeroed, and don't submit the job to the hardware
when any of the workgroup counts is zero, so the job completes immediately
instead of running the shader.
Published: 2026-06-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel drm/v3d driver permits compute shader dispatches with a zero workgroup count to be interpreted by hardware as a large dispatch of 65,536 threads, because the hardware treats a zero value as 65536 while the driver imposes a maximum of 65535. A zero count is meant to be a no‑op, but the kernel erroneously overwrites the indirect CSD job workgroup counts with the indirect buffer ones even when they are zero and submits the job to the hardware. This leads to unintended execution of a massive compute payload or a crash, thereby compromising system stability or the stability of other applications using the GPU. The weakness results from improper input validation and manifests as a local denial‑of‑service condition. Based on the description, it is inferred that a local user who can submit DRM commands to the v3d driver may trigger this flaw, since the driver operates on user‑supplied submission buffers and the CVE does not explicitly state the exploitation vector.

Affected Systems

All Linux kernel releases that include the drm/v3d driver are affected, with the provided CPEs covering kernel 7.1 RC1 through RC6 and all earlier builds that contain the module. Any system whose kernel has not yet incorporated the patch commit 11e6432836394e00d39e468cd514f9ddb66f1e49 should be considered vulnerable regardless of the exact kernel release number.

Risk and Exploitability

The EPSS score is < 1%, indicating a very low but non‑zero probability of exploitation, and the vulnerability is not listed in CISA's KEV catalog. The CVSS score of 5.5 reflects moderate severity. The CVE description indicates that the flaw occurs when the user supplies a zero workgroup count, which suggests that local users capable of issuing DRM commands could trigger the denial of service by dispatching such a compute shader. This conclusion is inferred from the description because the CVE does not explicitly provide an exploitation vector. In practice, the risk is elevated on systems that expose freely modifiable GPU workloads or rely on drm/v3d for critical operations. No public exploit has been documented, but a malicious payload could exhaust GPU resources or crash the driver, degrading system availability.

Generated by OpenCVE AI on August 12, 2026 at 07:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that contains the fix commit 11e6432836394e00d39e468cd514f9ddb66f1e49
  • If an immediate kernel update is not feasible, blacklist or disable the drm/v3d driver for untrusted users or workloads until a patch is available
  • Modify user‑space driver or GPU workloads to validate that CFG0..CFG2 registers contain non‑zero values before dispatching compute shaders

Generated by OpenCVE AI on August 12, 2026 at 07:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4688-1 linux security update
Debian DLA Debian DLA DLA-4700-1 linux-6.1 security update
Debian DSA Debian DSA DSA-6381-1 linux security update
History

Sat, 04 Jul 2026 12:15:00 +0000


Fri, 26 Jun 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665
CWE-770

Fri, 26 Jun 2026 12:15:00 +0000


Thu, 25 Jun 2026 10:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665
CWE-770

Thu, 25 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/v3d: Skip CSD when it has zeroed workgroups A compute shader dispatch encodes its workgroup counts in the CFG0..CFG2 registers. Kicking off a dispatch with a zero count in any of the three dimensions is invalid. First, the hardware will process 0 as 65536, while the user-space driver exposes a maximum of 65535. Over that, a submission with a zeroed workgroup dimension should be a no-op. These zeroed counts can reach the dispatch path through an indirect CSD job, whose workgroup counts are only known once the indirect buffer is read and may legitimately be zero, but such scenario should only result in a no-op. Overwrite the indirect CSD job workgroup counts with the indirect BO ones, even if they are zeroed, and don't submit the job to the hardware when any of the workgroup counts is zero, so the job completes immediately instead of running the shader.
Title drm/v3d: Skip CSD when it has zeroed workgroups
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-07-04T11:50:52.146Z

Reserved: 2026-06-09T07:44:35.387Z

Link: CVE-2026-53139

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-25T09:16:31.247

Modified: 2026-07-06T14:56:17.533

Link: CVE-2026-53139

cve-icon Redhat

Severity :

Publid Date: 2026-06-25T00:00:00Z

Links: CVE-2026-53139 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T08:00:03Z

Weaknesses