CVE-2026-53139
drm/v3d: Skip CSD when it has zeroed workgroups
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.
INFO
Published Date :
June 25, 2026, 9:16 a.m.
Last Modified :
July 6, 2026, 2:56 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to include the fix.
- Ensure indirect job workgroup counts are validated.
- Skip dispatch if any workgroup count is zero.
Public PoC/Exploit Available at Github
CVE-2026-53139 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53139.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53139 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53139
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
DSA and DLA for Debian last 14 days
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53139 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53139 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 06, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.36 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.13 *cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.177 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.3 up to (excluding) 5.15.211 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.144 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.95 Added Reference Type kernel.org: https://git.kernel.org/stable/c/11e6432836394e00d39e468cd514f9ddb66f1e49 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7f93fad5ea0affc9e1505dd0f7596c0fdb496213 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8b51c5406ad748c3d5575b66b6009b5dbbc08b80 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9655b56b6de918e1c22b92f3880ae41b052cbd00 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/abb069fdf51a9ddabcc1ed125dafe54e2089900b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ad166139d123dc162e8636f0c7962516d04074e1 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b3a8dd72b0d008ff142880b4dbe5ca37dcf962b4 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 04, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/8b51c5406ad748c3d5575b66b6009b5dbbc08b80 Added Reference https://git.kernel.org/stable/c/abb069fdf51a9ddabcc1ed125dafe54e2089900b Added Reference https://git.kernel.org/stable/c/ad166139d123dc162e8636f0c7962516d04074e1 Added Reference https://git.kernel.org/stable/c/b3a8dd72b0d008ff142880b4dbe5ca37dcf962b4 Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': '9655b56b6de918e1c22b92f3880ae41b052cbd00', 'versionType': 'git'}, {'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': '11e6432836394e00d39e468cd514f9ddb66f1e49', 'versionType': 'git'}, {'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': '7f93fad5ea0affc9e1505dd0f7596c0fdb496213', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': 'b3a8dd72b0d008ff142880b4dbe5ca37dcf962b4', 'versionType': 'git'}, {'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': '8b51c5406ad748c3d5575b66b6009b5dbbc08b80', 'versionType': 'git'}, {'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': 'abb069fdf51a9ddabcc1ed125dafe54e2089900b', 'versionType': 'git'}, {'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': 'ad166139d123dc162e8636f0c7962516d04074e1', 'versionType': 'git'}, {'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': '9655b56b6de918e1c22b92f3880ae41b052cbd00', 'versionType': 'git'}, {'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': '11e6432836394e00d39e468cd514f9ddb66f1e49', 'versionType': 'git'}, {'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': '7f93fad5ea0affc9e1505dd0f7596c0fdb496213', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.211', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.177', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.144', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.95', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': '9655b56b6de918e1c22b92f3880ae41b052cbd00', 'versionType': 'git'}, {'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': '11e6432836394e00d39e468cd514f9ddb66f1e49', 'versionType': 'git'}, {'status': 'affected', 'version': 'd223f98f02099b002903b9b22b56febae16ef80d', 'lessThan': '7f93fad5ea0affc9e1505dd0f7596c0fdb496213', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/11e6432836394e00d39e468cd514f9ddb66f1e49 Added Reference https://git.kernel.org/stable/c/7f93fad5ea0affc9e1505dd0f7596c0fdb496213 Added Reference https://git.kernel.org/stable/c/9655b56b6de918e1c22b92f3880ae41b052cbd00