# CVE-2025-21849: drm/i915/gt: Use spin_lock_irqsave() in interruptible context

- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-03-12T09:42:04.946Z
- Modified: 2026-06-17T08:44:26.300Z
- 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/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)

(As written by CVE List.)

## Affected

- Linux Linux: from 2f2cc53b5fe7022f3ae602eb24573d52f8740959 before 2bf1f4c129db7a10920655b000f0292f1ee509c2; from 2f2cc53b5fe7022f3ae602eb24573d52f8740959 before 47ae46ac5407646420e06b78e0dad331e56a4bb4; from 2f2cc53b5fe7022f3ae602eb24573d52f8740959 before e49477f7f78598295551d486ecc7f020d796432e; 6.9 (not affected: before 6.9; from 6.12.17 up to 6.12.*; from 6.13.5 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.9 before 6.12.17; from 6.13 before 6.13.5; 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/2bf1f4c129db7a10920655b000f0292f1ee509c2> (patch)
- <https://git.kernel.org/stable/c/47ae46ac5407646420e06b78e0dad331e56a4bb4> (patch)
- <https://git.kernel.org/stable/c/e49477f7f78598295551d486ecc7f020d796432e> (patch)

## Sources

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

---

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