# CVE-2026-53139: drm/v3d: Skip CSD when it has zeroed workgroups

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-25T08:38:27.738Z
- Modified: 2026-07-06T14:56:17.533Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from d223f98f02099b002903b9b22b56febae16ef80d before b3a8dd72b0d008ff142880b4dbe5ca37dcf962b4; from d223f98f02099b002903b9b22b56febae16ef80d before 8b51c5406ad748c3d5575b66b6009b5dbbc08b80; from d223f98f02099b002903b9b22b56febae16ef80d before abb069fdf51a9ddabcc1ed125dafe54e2089900b; from d223f98f02099b002903b9b22b56febae16ef80d before ad166139d123dc162e8636f0c7962516d04074e1; from d223f98f02099b002903b9b22b56febae16ef80d before 9655b56b6de918e1c22b92f3880ae41b052cbd00; from d223f98f02099b002903b9b22b56febae16ef80d before 11e6432836394e00d39e468cd514f9ddb66f1e49; from d223f98f02099b002903b9b22b56febae16ef80d before 7f93fad5ea0affc9e1505dd0f7596c0fdb496213; 5.3 (not affected: before 5.3; from 5.15.211 up to 5.15.*; from 6.1.177 up to 6.1.*; from 6.6.144 up to 6.6.*; from 6.12.95 up to 6.12.*; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.3 before 5.15.211; from 5.16 before 6.1.177; from 6.2 before 6.6.144; from 6.7 before 6.12.95; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/b3a8dd72b0d008ff142880b4dbe5ca37dcf962b4> (patch)
- <https://git.kernel.org/stable/c/8b51c5406ad748c3d5575b66b6009b5dbbc08b80> (patch)
- <https://git.kernel.org/stable/c/abb069fdf51a9ddabcc1ed125dafe54e2089900b> (patch)
- <https://git.kernel.org/stable/c/ad166139d123dc162e8636f0c7962516d04074e1> (patch)
- <https://git.kernel.org/stable/c/9655b56b6de918e1c22b92f3880ae41b052cbd00> (patch)
- <https://git.kernel.org/stable/c/11e6432836394e00d39e468cd514f9ddb66f1e49> (patch)
- <https://git.kernel.org/stable/c/7f93fad5ea0affc9e1505dd0f7596c0fdb496213> (patch)

## Sources

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

---

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