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

Published Apr 1, 2025
·
Updated

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: dmabufioctl+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

Affected Software

8 affected components
Linux Linux kernel>=6.8<6.12.19
Linux Linux kernel>=6.13<6.13.7
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3
Linux Linux kernel=6.14-rc4
Linux Linux kernel=6.14-rc5
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Move scheduler queue fence release processing onto a workqueue instead of performing it directly in the release function to avoid the fence-release deadlock.

Event History

Apr 1, 2025
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-21911?

CVE-2025-21911 is classified as a medium severity vulnerability.

2

How do I fix CVE-2025-21911?

To fix CVE-2025-21911, upgrade to the latest version of the Linux kernel that has addressed this vulnerability.

3

What does CVE-2025-21911 affect?

CVE-2025-21911 affects the Linux kernel, specifically related to the drm/imagination module.

4

What type of vulnerability is CVE-2025-21911?

CVE-2025-21911 is a deadlock vulnerability that occurs during the fence release process.

5

Is there a workaround for CVE-2025-21911?

There is no documented workaround for CVE-2025-21911; the recommended solution is to apply the kernel patch.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203