VDB

CVE-2025-21995

CVE-2025-21995 PUBLISHED CVSS 5.5 MEDIUM

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.

PackageEcosystemFixed in
linux_kernellinux6.14, 6.13.9, 6.12.21, 6.6.85

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux2fdb8a8f07c2f1353770a324fd19b8114e4329ac, 2fdb8a8f07c2f1353770a324fd19b8114e4329ac, 2fdb8a8f07c2f1353770a324fd19b8114e4329ac
LinuxLinux6.2, 0, 6.6.85
linuxlinux_kernel6.2, 6.2, 6.2
LinuxLinux2fdb8a8f07c2f1353770a324fd19b8114e4329ac, 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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›