CVE-2026-53139

drm/v3d: Skip CSD when it has zeroed workgroups

State
Published
Severity
Not scored
Published
Jun 25, 2026
Updated
Jul 4, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d223f98f02099b002903b9b22b56febae16ef80d to before b3a8dd72b0d008ff142880b4dbe5ca37dcf962b4Affected
  • d223f98f02099b002903b9b22b56febae16ef80d to before 8b51c5406ad748c3d5575b66b6009b5dbbc08b80Affected
  • d223f98f02099b002903b9b22b56febae16ef80d to before abb069fdf51a9ddabcc1ed125dafe54e2089900bAffected
  • d223f98f02099b002903b9b22b56febae16ef80d to before ad166139d123dc162e8636f0c7962516d04074e1Affected
  • d223f98f02099b002903b9b22b56febae16ef80d to before 9655b56b6de918e1c22b92f3880ae41b052cbd00Affected
  • d223f98f02099b002903b9b22b56febae16ef80d to before 11e6432836394e00d39e468cd514f9ddb66f1e49Affected
  • d223f98f02099b002903b9b22b56febae16ef80d to before 7f93fad5ea0affc9e1505dd0f7596c0fdb496213Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.15.211 through 5.15.*Not affected
  • 6.1.177 through 6.1.*Not affected
  • 6.6.144 through 6.6.*Not affected
  • 6.12.95 through 6.12.*Not affected
  • 6.18.36 through 6.18.*Not affected
  • 7.0.13 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.