CVE-2025-21911

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21911
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21911.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21911
Downstream
Published
2025-04-01T15:40:49.698Z
Modified
2025-11-28T02:35:01.316585Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
drm/imagination: avoid deadlock on fence release
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/imagination: avoid deadlock on fence release

Do scheduler queue fence release processing on a workqueue, rather than in the release function itself.

Fixes deadlock issues such as the following:

[ 607.400437] ============================================ [ 607.405755] WARNING: possible recursive locking detected [ 607.415500] -------------------------------------------- [ 607.420817] weston:zfq0/24149 is trying to acquire lock: [ 607.426131] ffff000017d041a0 (reservationwwclassmutex){+.+.}-{3:3}, at: pvrgemobjectvunmap+0x40/0xc0 [powervr] [ 607.436728] but task is already holding lock: [ 607.442554] ffff000017d105a0 (reservationwwclassmutex){+.+.}-{3:3}, at: dmabuf_ioctl+0x250/0x554 [ 607.451727] other info that might help us debug this: [ 607.458245] Possible unsafe locking scenario:

[ 607.464155] CPU0 [ 607.466601] ---- [ 607.469044] lock(reservationwwclassmutex); [ 607.473584] lock(reservationwwclassmutex); [ 607.478114] * DEADLOCK *

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21911.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
eaf01ee5ba28b97f96a3d3eec4c5fbfb37ee4cde
Fixed
d993ae7360923efd6ade43a32043459a121c28c1
Fixed
9bd8b8d34cf4efba18766d64f817c819ed1bbde7
Fixed
df1a1ed5e1bdd9cc13148e0e5549f5ebcf76cf13

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.12.19
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.7