What’s Vulnerable › Vulnerabilities
CVE-2025-21849: drm/i915/gt: Use spin_lock_irqsave() in interruptible context
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-12 · updated 2026-06-17
- Weakness: CWE-667
Description
In the Linux kernel, the following vulnerability has been resolved: drm/i915/gt: Use spin_lock_irqsave() in interruptible context spin_lock/unlock() functions used in interrupt contexts could result in a deadlock, as seen in GitLab issue #13399, which occurs when interrupt comes in while holding a lock. Try to remedy the problem by saving irq state before spin lock acquisition. v2: add irqs' state save/restore calls to all locks/unlocks in signal_irq_work() execution (Maciej) v3: use with spin_lock_irqsave() in guc_lrc_desc_unpin() instead of other lock/unlock calls and add Fixes and Cc tags (Tvrtko); change title and commit message (cherry picked from commit c088387ddd6482b40f21ccf23db1125e8fa4af7e)
Affected products
- Linux kernel: from 6.9 before 6.12.17; from 6.13 before 6.13.5; 6.14-rc1, 6.14-rc2, 6.14-rc3 — fixed in 6.12.17, 6.13.5
How to fix
Upgrade to a fixed version: Linux kernel 6.12.17, 6.13.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2bf1f4c129db7a10920655b000f0292f1ee509c2
- https://git.kernel.org/stable/c/47ae46ac5407646420e06b78e0dad331e56a4bb4
- https://git.kernel.org/stable/c/e49477f7f78598295551d486ecc7f020d796432e
Get alerted when CVE-2025-21849 or the next vulnerability affects your stack