CVE-2025-21995

published 3 Apr 2025 · updated 11 May 2026

drm/sched: Fix fence reference count leak

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1135a9431160575466ea9ac37ebd756ecbe35fff, Kernel 35399c84dcedd6d31448fb9e1336ef52673f2882, Kernel a952f1ab696873be124e31ce5ef964d36bce817f and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.2, >=2fdb8a8f07c2f1353770a324fd19b8114e4329ac <1135a9431160575466ea9ac37ebd756ecbe35fff, >=2fdb8a8f07c2f1353770a324fd19b8114e4329ac <35399c84dcedd6d31448fb9e1336ef52673f2882, >=2fdb8a8f07c2f1353770a324fd19b8114e4329ac <a952f1ab696873be124e31ce5ef964d36bce817f, >=2fdb8a8f07c2f1353770a324fd19b8114e4329ac <c76bd3c99293834de7d1dca5de536616d5655e381135a9431160575466ea9ac37ebd756ecbe35fff, 35399c84dcedd6d31448fb9e1336ef52673f2882, a952f1ab696873be124e31ce5ef964d36bce817f, c76bd3c99293834de7d1dca5de536616d5655e38

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21995 severity on Zeptric[![CVE-2025-21995](https://zeptric.io/badge/cve/CVE-2025-21995.svg)](https://zeptric.io/cve/CVE-2025-21995)