[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025031212-CVE-2025-21849-c95e@gregkh>
Date: Wed, 12 Mar 2025 10:42:15 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21849: drm/i915/gt: Use spin_lock_irqsave() in interruptible context
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)
The Linux kernel CVE team has assigned CVE-2025-21849 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.9 with commit 2f2cc53b5fe7022f3ae602eb24573d52f8740959 and fixed in 6.12.17 with commit 2bf1f4c129db7a10920655b000f0292f1ee509c2
Issue introduced in 6.9 with commit 2f2cc53b5fe7022f3ae602eb24573d52f8740959 and fixed in 6.13.5 with commit 47ae46ac5407646420e06b78e0dad331e56a4bb4
Issue introduced in 6.9 with commit 2f2cc53b5fe7022f3ae602eb24573d52f8740959 and fixed in 6.14-rc4 with commit e49477f7f78598295551d486ecc7f020d796432e
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-21849
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/2bf1f4c129db7a10920655b000f0292f1ee509c2
https://git.kernel.org/stable/c/47ae46ac5407646420e06b78e0dad331e56a4bb4
https://git.kernel.org/stable/c/e49477f7f78598295551d486ecc7f020d796432e
Powered by blists - more mailing lists