medium5.5
CVE-2025-21995
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 …
Impact
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 products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 6.2 before 6.6.85 from 6.7 before 6.12.21 from 6.13 before 6.13.9 Version 6.14 |
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/1135a9431160575466ea9ac37ebd756ecbe35fff
- https://git.kernel.org/stable/c/35399c84dcedd6d31448fb9e1336ef52673f2882
- https://git.kernel.org/stable/c/a952f1ab696873be124e31ce5ef964d36bce817f
- https://git.kernel.org/stable/c/c76bd3c99293834de7d1dca5de536616d5655e38