CVE-2025-21849

drm/i915/gt: Use spin_lock_irqsave() in interruptible context

State
Published
Severity
5.5 Medium
Published
Mar 12, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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)

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 2f2cc53b5fe7022f3ae602eb24573d52f8740959 to before 2bf1f4c129db7a10920655b000f0292f1ee509c2Affected
  • 2f2cc53b5fe7022f3ae602eb24573d52f8740959 to before 47ae46ac5407646420e06b78e0dad331e56a4bb4Affected
  • 2f2cc53b5fe7022f3ae602eb24573d52f8740959 to before e49477f7f78598295551d486ecc7f020d796432eAffected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.12.17 through 6.12.*Not affected
  • 6.13.5 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.