CVE-2025-21995

drm/sched: Fix fence reference count leak

MEDIUM
5.5
CVSS Score
Published: April 3, 2025 at 07:18 AM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

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%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: drm/sched: Fix fence reference count leak The last_scheduled fence leaks when an entity is being killed and adding the cleanup callback fails. Decrement the reference count of prev when dma_fence_add_callback() fails, ensuring proper balance. [phasta: add git tag info for stable kernel]

Affected

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

6.13 ≤ v < 6.13.96.2 ≤ v < 6.12.216.2 ≤ v < 6.13.96.2 ≤ v < 6.146.2 ≤ v < 6.6.856.7 ≤ v < 6.12.212fdb8a8f07c2f1353770a324fd19b8114e4329ac6.14 rc16.14 rc26.14 rc36.14 rc46.14 rc56.14 rc66.14 rc7
Vendor states this is fixed in 1135a9431160575466ea9ac37ebd756ecbe35fff (fixed)
Vendor states this is fixed in 35399c84dcedd6d31448fb9e1336ef52673f2882 (fixed)
Vendor states this is fixed in a952f1ab696873be124e31ce5ef964d36bce817f (fixed)
Vendor states this is fixed in c76bd3c99293834de7d1dca5de536616d5655e38 (fixed)
Vendor states this is fixed in 6.12.21 (unaffected)
Vendor states this is fixed in 6.13.9 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)
Vendor states this is fixed in 6.6.85 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1135a9431160575466ea9ac37ebd756ecbe35fff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/35399c84dcedd6d31448fb9e1336ef52673f2882
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a952f1ab696873be124e31ce5ef964d36bce817f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c76bd3c99293834de7d1dca5de536616d5655e38

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

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

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

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