CVE-2026-53139

MEDIUM

drm/v3d: Skip CSD when it has zeroed workgroups

Title source: cna
STIX 2.1

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

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (24)
linux/Kernel 5.16.0 - 6.1.177linux
linux/Kernel 5.3.0 - 5.15.211linux
linux/Kernel 6.13.0 - 6.18.36linux
linux/Kernel 6.19.0 - 7.0.13linux
linux/Kernel 6.2.0 - 6.6.144linux
linux/Kernel 6.7.0 - 6.12.95linux
Linux/Linux < 5.3
Linux/Linux 5.15.211 - 5.15.*
Linux/Linux 5.3
Linux/Linux 6.1.177 - 6.1.*
... and 14 more
Published Jun 25, 2026
Tracked Since Jun 25, 2026