drm/v3d: Fix vaddr leak when indirect CSD has zeroed workgroups

Summary

CVECVE-2026-53140
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-25 09:16:31 UTC
Updated2026-06-25 09:16:31 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: drm/v3d: Fix vaddr leak when indirect CSD has zeroed workgroups v3d_rewrite_csd_job_wg_counts_from_indirect() maps both the indirect buffer and the workgroup buffer and is expected to release them before returning. When any of the workgroup counts read from the buffer is zero, the function bailed out early and skipped the cleanup, leaking the vaddr mappings of both BOs. Jump to the cleanup path instead of returning directly, so the mappings are always dropped.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 18b8413b25b7070fa2e55858a2c808e6909581d0 0b59d0946913a0df7d1a033013e259e9b6a76546 git Not specified
CNA Linux Linux affected 18b8413b25b7070fa2e55858a2c808e6909581d0 90b629269088a9fe24a02c032be9f08357f47873 git Not specified
CNA Linux Linux affected 18b8413b25b7070fa2e55858a2c808e6909581d0 60ebeb23eaf3d7fd2e0551fe304309305e31d424 git Not specified
CNA Linux Linux affected 18b8413b25b7070fa2e55858a2c808e6909581d0 ae7676952790f421c40918e2586a2c9f12a682b6 git Not specified
CNA Linux Linux affected 6.8 Not specified
CNA Linux Linux unaffected 6.8 semver Not specified
CNA Linux Linux unaffected 6.12.94 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.36 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.13 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/0b59d0946913a0df7d1a033013e259e9b6a76546 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ae7676952790f421c40918e2586a2c9f12a682b6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/60ebeb23eaf3d7fd2e0551fe304309305e31d424 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/90b629269088a9fe24a02c032be9f08357f47873 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report