# CVE-2025-21911: drm/imagination: avoid deadlock on fence release

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-04-01T15:40:49.698Z
- Modified: 2026-06-17T08:44:35.430Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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 (reservation_ww_class_mutex){+.+.}-{3:3}, at: pvr_gem_object_vunmap+0x40/0xc0 [powervr]
[  607.436728]
               but task is already holding lock:
[  607.442554] ffff000017d105a0 (reservation_ww_class_mutex){+.+.}-{3:3}, at: dma_buf_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(reservation_ww_class_mutex);
[  607.473584]   lock(reservation_ww_class_mutex);
[  607.478114]
                *** DEADLOCK ***

(As written by CVE List.)

## Affected

- Linux Linux: from eaf01ee5ba28b97f96a3d3eec4c5fbfb37ee4cde before d993ae7360923efd6ade43a32043459a121c28c1; from eaf01ee5ba28b97f96a3d3eec4c5fbfb37ee4cde before 9bd8b8d34cf4efba18766d64f817c819ed1bbde7; from eaf01ee5ba28b97f96a3d3eec4c5fbfb37ee4cde before df1a1ed5e1bdd9cc13148e0e5549f5ebcf76cf13; 6.8 (not affected: before 6.8; from 6.12.19 up to 6.12.*; from 6.13.7 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.8 before 6.12.19; from 6.13 before 6.13.7; 6.14

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d993ae7360923efd6ade43a32043459a121c28c1> (patch)
- <https://git.kernel.org/stable/c/9bd8b8d34cf4efba18766d64f817c819ed1bbde7> (patch)
- <https://git.kernel.org/stable/c/df1a1ed5e1bdd9cc13148e0e5549f5ebcf76cf13> (patch)

## Sources

- CVE List: [CVE-2025-21911](https://www.cve.org/CVERecord?id=CVE-2025-21911), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-21911](https://nvd.nist.gov/vuln/detail/CVE-2025-21911), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21911 · Whole record: https://cve.day/CVE-2025-21911.json · Rebuilt by cve.day 2026-11-25T22:58:55.882Z
