Bug 2357139 (CVE-2025-21995) - CVE-2025-21995 kernel: drm/sched: Fix fence reference count leak
Summary: CVE-2025-21995 kernel: drm/sched: Fix fence reference count leak
Keywords:
Status: NEW
Alias: CVE-2025-21995
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-03 08:01 UTC by OSIDB Bzimport
Modified: 2025-04-03 09:30 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-03 08:01:39 UTC
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]

Comment 1 Avinash Hanwate 2025-04-03 09:25:04 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025040346-CVE-2025-21995-64c3@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.