[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025072512-CVE-2025-38436-8cb6@gregkh>
Date: Fri, 25 Jul 2025 16:32:15 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38436: drm/scheduler: signal scheduled fence when kill job
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/scheduler: signal scheduled fence when kill job
When an entity from application B is killed, drm_sched_entity_kill()
removes all jobs belonging to that entity through
drm_sched_entity_kill_jobs_work(). If application A's job depends on a
scheduled fence from application B's job, and that fence is not properly
signaled during the killing process, application A's dependency cannot be
cleared.
This leads to application A hanging indefinitely while waiting for a
dependency that will never be resolved. Fix this issue by ensuring that
scheduled fences are properly signaled when an entity is killed, allowing
dependent applications to continue execution.
The Linux kernel CVE team has assigned CVE-2025-38436 to this issue.
Affected and fixed versions
===========================
Fixed in 6.6.96 with commit c5734f9bab6f0d40577ad0633af4090a5fda2407
Fixed in 6.12.36 with commit aefd0a935625165a6ca36d0258d2d053901555df
Fixed in 6.15.5 with commit aa382a8b6ed483e9812d0e63b6d1bdcba0186f29
Fixed in 6.16-rc1 with commit 471db2c2d4f80ee94225a1ef246e4f5011733e50
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-38436
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/scheduler/sched_entity.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/c5734f9bab6f0d40577ad0633af4090a5fda2407
https://git.kernel.org/stable/c/aefd0a935625165a6ca36d0258d2d053901555df
https://git.kernel.org/stable/c/aa382a8b6ed483e9812d0e63b6d1bdcba0186f29
https://git.kernel.org/stable/c/471db2c2d4f80ee94225a1ef246e4f5011733e50
Powered by blists - more mailing lists