# CVE-2026-53140: drm/v3d: Fix vaddr leak when indirect CSD 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:28.494Z
- Modified: 2026-07-06T14:47:39.263Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from 18b8413b25b7070fa2e55858a2c808e6909581d0 before 0b59d0946913a0df7d1a033013e259e9b6a76546; from 18b8413b25b7070fa2e55858a2c808e6909581d0 before 90b629269088a9fe24a02c032be9f08357f47873; from 18b8413b25b7070fa2e55858a2c808e6909581d0 before 60ebeb23eaf3d7fd2e0551fe304309305e31d424; from 18b8413b25b7070fa2e55858a2c808e6909581d0 before ae7676952790f421c40918e2586a2c9f12a682b6; 6.8 (not affected: before 6.8; from 6.12.94 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 6.8 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/0b59d0946913a0df7d1a033013e259e9b6a76546> (patch)
- <https://git.kernel.org/stable/c/90b629269088a9fe24a02c032be9f08357f47873> (patch)
- <https://git.kernel.org/stable/c/60ebeb23eaf3d7fd2e0551fe304309305e31d424> (patch)
- <https://git.kernel.org/stable/c/ae7676952790f421c40918e2586a2c9f12a682b6> (patch)

## Sources

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

---

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