CVE-2025-38409 drm/msm: Fix another leak in the submit error path

Medium 5.5 Published Updated

A memory leak in the Linux kernel's DRM MSM driver error path allows attackers to cause denial of service by exhausting system memory.

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-38409?

CVE-2025-38409 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 25 Jul 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 another leak in the submit error path

put_unused_fd() doesn't free the installed file, if we've already done fd_install(). So we need to also free the sync_file.

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

Weakness: CWE-401

Which versions are affected by CVE-2025-38409?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38409?

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-38409 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-65723, AZL-73031, BELL-CVE-2025-38409, DEBIAN-CVE-2025-38409, GHSA-8gx9-2mgx-hm7j, ROOT-OS-DEBIAN-11-CVE-2025-38409 and 4 more.

Is CVE-2025-38409 in your software?

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

Check your SBOMs for free