CVE-2025-40069 drm/msm: Fix obj leak in VM_BIND error path

High 7.8 Published Updated

A memory leak in the Linux kernel's DRM MSM driver allows attackers to cause a denial of service via VM_BIND error paths.

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-2025-40069?

CVE-2025-40069 is a high-severity memory corruption vulnerability in Linux, published on 28 Oct 2025. 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/msm: Fix obj leak in VM_BIND error path

If we fail a handle-lookup part way thru, we need to drop the already obtained obj references.

Patchwork: https://patchwork.freedesktop.org/patch/669784/

Which versions are affected by CVE-2025-40069?

How do I fix CVE-2025-40069?

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-2025-40069 being exploited?

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

Sources

Also known as BELL-CVE-2025-40069, GHSA-2w39-4r85-2c9m, UBUNTU-CVE-2025-40069.

Is CVE-2025-40069 in your software?

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

Check your SBOMs for free