CVE-2025-21995
kernel: drm/sched: Fix fence reference count leak
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 3, 2025
Updated · June 30, 2026
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]
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
CWE-401 · Missing Release of Memory after Effective Lifetime