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

Medium 5.5 Published Updated

A memory leak in the Linux kernel's v3d DRM driver allows attackers to cause denial of service by triggering zeroed workgroup counts in indirect compute shader dispatches.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-53140?

CVE-2026-53140 is a medium-severity memory corruption vulnerability in Linux kernel, published on 25 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-401

Which versions are affected by CVE-2026-53140?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-53140?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-53140 being exploited?

There is no known exploitation of CVE-2026-53140 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-53140, DEBIAN-CVE-2026-53140, GHSA-mrv3-46fp-r6hh, ROOT-OS-UBUNTU-2404-CVE-2026-53140, UBUNTU-CVE-2026-53140.

Is CVE-2026-53140 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free