CVE-2025-38410

drm/msm: Fix a fence leak in submit error path

MEDIUM
5.5
CVSS Score
Published: July 25, 2025 at 01:20 PM UTC
Updated: June 17, 2026 at 09:16 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: drm/msm: Fix a fence leak in submit error path In error paths, we could unref the submit without calling drm_sched_entity_push_job(), so msm_job_free() will never get called. Since drm_sched_job_cleanup() will NULL out the s_fence, we can use that to detect this case. Patchwork: https://patchwork.freedesktop.org/patch/653584/

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.12 ≤ v < 5.15.1873.12 ≤ v < 6.1.1443.12 ≤ v < 6.12.373.12 ≤ v < 6.15.63.12 ≤ v < 6.163.12 ≤ v < 6.6.975.16 ≤ v < 6.1.1446.13 ≤ v < 6.15.66.2 ≤ v < 6.6.976.7 ≤ v < 6.12.370cf6c71d70d8aa39b8fd0e39c9009602a0e0d3003.126.16 rc16.16 rc2
Vendor states this is fixed in 0dc817f852e5f8ec8501d19ef7dcc01affa181d0 (fixed)
Vendor states this is fixed in 0eaa495b3d5710e5ba72051d2e01bb28292c625c (fixed)
Vendor states this is fixed in 201eba5c9652a900c0b248070263f9acd3735689 (fixed)
Vendor states this is fixed in 5d319f75ccf7f0927425a7545aa1a22b3eedc189 (fixed)
Vendor states this is fixed in 5deab0fa6cfd0cd7def17598db15ceb84f950584 (fixed)
Vendor states this is fixed in fe2695b2f63bd77e0e03bc0fc779164115bb4699 (fixed)
Vendor states this is fixed in 3.12 (unaffected)
Vendor states this is fixed in 5.15.187 (unaffected)
Vendor states this is fixed in 6.1.144 (unaffected)
Vendor states this is fixed in 6.12.37 (unaffected)
Vendor states this is fixed in 6.15.6 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.97 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0dc817f852e5f8ec8501d19ef7dcc01affa181d0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0eaa495b3d5710e5ba72051d2e01bb28292c625c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/201eba5c9652a900c0b248070263f9acd3735689
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5d319f75ccf7f0927425a7545aa1a22b3eedc189
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5deab0fa6cfd0cd7def17598db15ceb84f950584
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe2695b2f63bd77e0e03bc0fc779164115bb4699
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card