CVE-2025-21995
drm/sched: Fix fence reference count leak
Reported by linux · Published April 3, 2025
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]
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.14, 6.13.9, 6.12.21, 6.6.85 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2fdb8a8f07c2f1353770a324fd19b8114e4329ac, 2fdb8a8f07c2f1353770a324fd19b8114e4329ac, 2fdb8a8f07c2f1353770a324fd19b8114e4329ac |
| Linux | Linux | 6.2, 0, 6.6.85 |
| linux | linux_kernel | 6.2, 6.2, 6.2 |
| Linux | Linux | 2fdb8a8f07c2f1353770a324fd19b8114e4329ac, 2fdb8a8f07c2f1353770a324fd19b8114e4329ac, 2fdb8a8f07c2f1353770a324fd19b8114e4329ac |
Timeline
- Apr 2, 2025 CVE Published
- Apr 3, 2025 EPSS Score (30 in total, the first dated here)
- May 18, 2025 Coalition ESS Score (12 in total, the first dated here)
- Dec 21, 2025 Security Advisory (180 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (161 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21995
vulnetix vdb fixes CVE-2025-21995
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21995/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart