CVE-2025-21995 Details
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]
A reference count leak vulnerability has been identified in the Linux kernel's Direct Rendering Manager (DRM) scheduler. This issue occurs when an entity is being terminated, and the process of adding a cleanup callback fails, leading to a leak of the last_scheduled fence. The vulnerability has been addressed by ensuring that the reference count is properly decremented when the callback addition fails, maintaining the correct balance.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1135a9431160575466ea9ac37ebd756ecbe35fff | kernel.org | Patch |
| https://git.kernel.org/stable/c/35399c84dcedd6d31448fb9e1336ef52673f2882 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a952f1ab696873be124e31ce5ef964d36bce817f | kernel.org | Patch |
| https://git.kernel.org/stable/c/c76bd3c99293834de7d1dca5de536616d5655e38 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.2, < 6.6.85 >= 6.7, < 6.12.21 >= 6.13, < 6.13.9 6.14 rc1 6.14 rc2 6.14 rc3 6.14 rc4 6.14 rc5 6.14 rc6 6.14 rc7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Apr 14, 2025 | Initial Analysis | [email protected] |
| Apr 3, 2025 | New CVE Received | kernel.org |