drm/v3d: Skip CSD when it has zeroed workgroups (Linux Linux)

CVE-2026-53139
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected d223f98f02099b002903b9b22b56febae16ef80d < b3a8dd72b0d008ff142880b4dbe5ca37dcf962b4 ; affected d223f98f02099b002903b9b22b56febae16ef80d < 8b51c5406ad748c3d5575b66b6009b5dbbc08b80 ; affected d223f98f02099b002903b9b22b56febae16ef80d < abb069fdf51a9ddabcc1ed125dafe54e2089900b ; affected d223f98f02099b002903b9b22b56febae16ef80d < ad166139d123dc162e8636f0c7962516d04074e1 ; affected d223f98f02099b002903b9b22b56febae16ef80d < 9655b56b6de918e1c22b92f3880ae41b052cbd00 ; affected d223f98f02099b002903b9b22b56febae16ef80d < 11e6432836394e00d39e468cd514f9ddb66f1e49
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.15.211 ≤ 5.15.* ; unaffected 6.1.177 ≤ 6.1.* ; unaffected 6.6.144 ≤ 6.6.* ; unaffected 6.12.95 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD