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

- 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.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-07-25T13:20:14.229Z
- Modified: 2026-06-17T09:16:48.197Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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/

(As written by CVE List.)

## Affected

- Linux Linux: from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before 00b3401f692082ddf6342500d1be25560bba46d4; from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before c40ad1c04d306f7fde26337fdcf8a5979657d93f; from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before 3f6ce8433a9035b0aa810e1f5b708e9dc1c367b0; from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before 30d3819b0b9173e31b84d662a592af8bad351427; from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before f681c2aa8676a890eacc84044717ab0fd26e058f; 3.12 (not affected: before 3.12; from 6.1.144 up to 6.1.*; from 6.6.97 up to 6.6.*; from 6.12.37 up to 6.12.*; from 6.15.6 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 3.12 before 6.1.144; from 6.2 before 6.6.97; from 6.7 before 6.12.37; from 6.13 before 6.15.6; 6.16
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/00b3401f692082ddf6342500d1be25560bba46d4> (patch)
- <https://git.kernel.org/stable/c/c40ad1c04d306f7fde26337fdcf8a5979657d93f> (patch)
- <https://git.kernel.org/stable/c/3f6ce8433a9035b0aa810e1f5b708e9dc1c367b0> (patch)
- <https://git.kernel.org/stable/c/30d3819b0b9173e31b84d662a592af8bad351427> (patch)
- <https://git.kernel.org/stable/c/f681c2aa8676a890eacc84044717ab0fd26e058f> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)

## Sources

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

---

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