# CVE-2026-53140: drm/v3d: Fix vaddr leak when indirect CSD has zeroed workgroups

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-25 · Modified: 2026-06-25
- Aliases: UBUNTU-CVE-2026-53140, DEBIAN-CVE-2026-53140, CGA-2mc5-7jw4-qv49, CGA-6gxv-hf9g-hfqv, CGA-6rch-wc82-h88v, CGA-7wj2-f7hc-cmpc, CGA-94h8-9mgg-f6rj, CGA-9rv8-gg9g-729f, CGA-gcgg-gw35-82rc, CGA-jjjq-p34j-3xvq, CGA-mx5c-376v-m99m, CGA-phmx-98rh-323p, CGA-r2q5-9c74-474q, CGA-v6c3-h2c2-3v4r
- Record: https://cvemate.com/vulnerability/CVE-2026-53140 · JSON: https://cvemate.com/vulnerability/CVE-2026-53140/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.122%, percentile 2.134%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 157)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-aws-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-azure-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-gcp-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-qemu-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-melange (Chainguard): \< 6.18.38-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-vmware-6.18 (Chainguard): \< 6.18.38-r0
- debian linux (Debian): \< 6.12.94-1 \| \< 7.0.13-1
- ubuntu linux (Ubuntu): \< 6.8.0-146.146 \| All versions (No fix recorded) \| \< 7.0.0-31.31
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1066.69 \| All versions (No fix recorded) \| \< 7.0.0-1012.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 28)

- <https://git.kernel.org/stable/c/0b59d0946913a0df7d1a033013e259e9b6a76546>
- <https://git.kernel.org/stable/c/90b629269088a9fe24a02c032be9f08357f47873>
- <https://git.kernel.org/stable/c/60ebeb23eaf3d7fd2e0551fe304309305e31d424>
- <https://git.kernel.org/stable/c/ae7676952790f421c40918e2586a2c9f12a682b6>
- <https://ubuntu.com/security/CVE-2026-53140>
- <https://www.cve.org/CVERecord?id=CVE-2026-53140>
- <https://git.kernel.org/linus/ae7676952790f421c40918e2586a2c9f12a682b6>
- <https://ubuntu.com/security/notices/USN-8726-1>
- <https://ubuntu.com/security/notices/USN-8727-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8760-1>
- <https://ubuntu.com/security/notices/USN-8726-2>
- <https://ubuntu.com/security/notices/USN-8726-3>
- <https://ubuntu.com/security/notices/USN-8800-1>
- <https://ubuntu.com/security/notices/USN-8760-2>
- <https://ubuntu.com/security/notices/USN-8728-2>
- <https://ubuntu.com/security/notices/USN-8726-4>
- <https://ubuntu.com/security/notices/USN-8728-3>
- <https://ubuntu.com/security/notices/USN-8903-1>
- <https://ubuntu.com/security/notices/USN-8905-1>

---

Data as of 2026-12-05T04:11:36.899Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
