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

Published Mar 12, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

spinlock/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 signalirqwork() execution (Maciej)

v3: use with spinlockirqsave() in guclrcdescunpin() instead of other lock/unlock calls and add Fixes and Cc tags (Tvrtko); change title and commit message

(cherry picked from commit c088387ddd6482b40f21ccf23db1125e8fa4af7e)

Affected Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=6.9<6.12.17
Linux Linux kernel>=6.13<6.13.5
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch c088387ddd6482b40f21ccf23db1125e8fa4af7e

Event History

Mar 12, 2025
CVE Published
via MITRE·09:42 AM
Data Sourced
via MITRE·09:42 AM
Description
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-21849?

CVE-2025-21849 has been classified as a medium-severity vulnerability due to the potential for deadlock in specific interrupt contexts.

2

How do I fix CVE-2025-21849?

To fix CVE-2025-21849, update the Linux Kernel to a version that includes the patch resolving the misuse of spin_lock_irqsave() in interruptible contexts.

3

What systems are affected by CVE-2025-21849?

CVE-2025-21849 affects the Linux Kernel, particularly versions using the drm/i915/gt subsystem.

4

What are the implications of CVE-2025-21849?

CVE-2025-21849 can lead to system deadlocks, potentially causing denial of service under specific conditions.

5

Is there a workaround for CVE-2025-21849?

While the recommended action is to upgrade the kernel, reducing the use of interrupt contexts could mitigate some immediate risks of CVE-2025-21849.

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