CVE-2026-74638
drm/v3d: Serialize the scheduler timeout handlers
Description
In the Linux kernel, the following vulnerability has been resolved: drm/v3d: Serialize the scheduler timeout handlers V3D exposes several independent hardware queues (BIN, RENDER, TFU and CSD) but has only a single, global reset. A timeout on any one queue therefore has to stop, reset and restart the schedulers of every other queue as well. That makes concurrent timeout handlers unsafe. `reset_lock` was never able to make them safe, as a driver-side lock can only cover the driver's &drm_sched_backend_ops.timedout_job callback. The scheduler handles the timed out job and its pending list around that callback, outside of the driver's control, so a global reset triggered by one queue can still interfere with another queue that is in the middle of handling a timeout of its own. Consequently, if a reset happens in the CSD queue while a CL-intensive application is running, the global reset stops and restarts the CL queue's scheduler while that queue is handling a timeout of its own. As drm_sched_stop() and drm_sched_start() subtract and add the credits of every job sitting on the pending list of the scheduler they are called on, and as the CL queue's handler concurrently takes its job off that same list and puts it back, the stop and the start no longer see the same set of jobs. The CL queue is left with more credits in flight than its limit: [ 327.302739] ------------[ cut here ]------------ [ 327.302744] WARNING: CPU: 2 PID: 43 at drivers/gpu/drm/scheduler/sched_main.c:102 drm_sched_run_job_work+0x238/0x4d0 [gpu_sched] [ 327.302884] CPU: 2 UID: 0 PID: 43 Comm: kworker/u16:1 Not tainted 6.18.39-v8-16k+ #3 PREEMPT [ 327.302889] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 327.302893] Workqueue: v3d_bin drm_sched_run_job_work [gpu_sched] [ 327.302984] Call trace: [ 327.302987] drm_sched_run_job_work+0x238/0x4d0 [gpu_sched] (P) [ 327.302997] process_scheduled_works+0x180/0x3d0 [ 327.303010] worker_thread+0x268/0x3e8 [ 327.303016] kthread+0x140/0x250 [ 327.303022] ret_from_fork+0x10/0x20 [ 327.303031] ---[ end trace 0000000000000000 ]--- From that point on, the credit count of the CL queue is broken, causing a complete GPU hang and UI freeze. The DRM scheduler already provides a mechanism to serialize the timeout handlers of different schedulers: an ordered workqueue passed as drm_sched_init()'s @timeout_wq parameter. By default, each scheduler queues its timeout work on the system workqueue, which runs the handlers concurrently. Give all of the queues a shared ordered workqueue instead, as recommended by the DRM scheduler documentation for hardware that has distinct queues but resets globally.
INFO
Published Date :
Aug. 22, 2026, 4:16 p.m.
Last Modified :
Oct. 14, 2026, 1:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Use a shared ordered workqueue for all schedulers.
- Pass the shared workqueue to drm_sched_init().
- Ensure queues use a shared ordered workqueue.
- Test for proper scheduler operation.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74638.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74638 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74638
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74638 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74638 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 14, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/v3d: Serializar los gestores de tiempo de espera del planificador V3D expone varias colas de hardware independientes (BIN, RENDER, TFU y CSD) pero tiene solo un reinicio único y global. Un tiempo de espera en cualquier cola, por lo tanto, tiene que detener, reiniciar y volver a iniciar los planificadores de todas las demás colas también. Eso hace que los gestores de tiempo de espera concurrentes sean inseguros. 'reset_lock' nunca pudo hacerlos seguros, ya que un bloqueo del lado del controlador solo puede cubrir la llamada de retorno &drm_sched_backend_ops.timedout_job del controlador. El planificador maneja el trabajo con tiempo de espera agotado y su lista de pendientes alrededor de esa llamada de retorno, fuera del control del controlador, por lo que un reinicio global activado por una cola aún puede interferir con otra cola que está en medio de manejar un tiempo de espera propio. En consecuencia, si ocurre un reinicio en la cola CSD mientras se ejecuta una aplicación intensiva en CL, el reinicio global detiene y reinicia el planificador de la cola CL mientras esa cola está manejando un tiempo de espera propio. Como drm_sched_stop() y drm_sched_start() restan y suman los créditos de cada trabajo que se encuentra en la lista de pendientes del planificador en el que se les llama, y como el gestor de la cola CL retira concurrentemente su trabajo de esa misma lista y lo vuelve a colocar, la detención y el inicio ya no ven el mismo conjunto de trabajos. La cola CL se queda con más créditos en curso que su límite: [ 327.302739] ------------[ cut here ]------------ [ 327.302744] WARNING: CPU: 2 PID: 43 at drivers/gpu/drm/scheduler/sched_main.c:102 drm_sched_run_job_work+0x238/0x4d0 [gpu_sched] [ 327.302884] CPU: 2 UID: 0 PID: 43 Comm: kworker/u16:1 Not tainted 6.18.39-v8-16k+ #3 PREEMPT [ 327.302889] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 327.302893] Workqueue: v3d_bin drm_sched_run_job_work [gpu_sched] [ 327.302984] Call trace: [ 327.302987] drm_sched_run_job_work+0x238/0x4d0 [gpu_sched] (P) [ 327.302997] process_scheduled_works+0x180/0x3d0 [ 327.303010] worker_thread+0x268/0x3e8 [ 327.303016] kthread+0x140/0x250 [ 327.303022] ret_from_fork+0x10/0x20 [ 327.303031] ---[ end trace 0000000000000000 ]--- A partir de ese momento, el recuento de créditos de la cola CL está roto, causando un cuelgue completo de la GPU y un congelamiento de la interfaz de usuario. El planificador DRM ya proporciona un mecanismo para serializar los gestores de tiempo de espera de diferentes planificadores: una cola de trabajo ordenada pasada como el parámetro @timeout_wq de drm_sched_init(). Por defecto, cada planificador encola su trabajo de tiempo de espera en la cola de trabajo del sistema, que ejecuta los gestores concurrentemente. En su lugar, dé a todas las colas una cola de trabajo ordenada compartida, como recomienda la documentación del planificador DRM para hardware que tiene colas distintas pero se reinicia globalmente. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 25, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '5884851a096d8afcdf91f0e542bac193035183a6', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'c22a45817b9c92aa0391db60e2ed467c7e6027d7', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '4da94744707b27a3ae1197bdd7127da4505dc5b1', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.45', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.1.9', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_drv.h', 'drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '6.18.45', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_drv.h', 'drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '35e4079bf1a2570abffce6ababa631afcf8ea0e5', 'lessThan': '5884851a096d8afcdf91f0e542bac193035183a6', 'versionType': 'git'}, {'status': 'affected', 'version': '35e4079bf1a2570abffce6ababa631afcf8ea0e5', 'lessThan': 'c22a45817b9c92aa0391db60e2ed467c7e6027d7', 'versionType': 'git'}, {'status': 'affected', 'version': '35e4079bf1a2570abffce6ababa631afcf8ea0e5', 'lessThan': '4da94744707b27a3ae1197bdd7127da4505dc5b1', 'versionType': 'git'}, {'status': 'affected', 'version': '5235b56b7e5449d990d21d78723b1a5e7bb5738e', 'versionType': 'git'}, {'status': 'affected', 'version': '12125f7d9c15e6d8ac91d10373b2db2f17dcf767', 'versionType': 'git'}, {'status': 'affected', 'version': 'a5f162727b91e480656da1876247a91f651f76de', 'versionType': 'git'}, {'status': 'affected', 'version': '422a8b10ba42097a704d6909ada2956f880246f2', 'versionType': 'git'}, {'status': 'affected', 'version': '6.1.139', 'lessThan': '6.2', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.6.91', 'lessThan': '6.7', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.12.29', 'lessThan': '6.13', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.14.7', 'lessThan': '6.15', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_drv.h', 'drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.45', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_drv.h', 'drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 22, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '5884851a096d8afcdf91f0e542bac193035183a6', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'c22a45817b9c92aa0391db60e2ed467c7e6027d7', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '4da94744707b27a3ae1197bdd7127da4505dc5b1', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.45', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.1.9', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_drv.h', 'drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '6.18.45', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/v3d/v3d_drv.h', 'drivers/gpu/drm/v3d/v3d_sched.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: drm/v3d: Serialize the scheduler timeout handlers V3D exposes several independent hardware queues (BIN, RENDER, TFU and CSD) but has only a single, global reset. A timeout on any one queue therefore has to stop, reset and restart the schedulers of every other queue as well. That makes concurrent timeout handlers unsafe. `reset_lock` was never able to make them safe, as a driver-side lock can only cover the driver's &drm_sched_backend_ops.timedout_job callback. The scheduler handles the timed out job and its pending list around that callback, outside of the driver's control, so a global reset triggered by one queue can still interfere with another queue that is in the middle of handling a timeout of its own. Consequently, if a reset happens in the CSD queue while a CL-intensive application is running, the global reset stops and restarts the CL queue's scheduler while that queue is handling a timeout of its own. As drm_sched_stop() and drm_sched_start() subtract and add the credits of every job sitting on the pending list of the scheduler they are called on, and as the CL queue's handler concurrently takes its job off that same list and puts it back, the stop and the start no longer see the same set of jobs. The CL queue is left with more credits in flight than its limit: [ 327.302739] ------------[ cut here ]------------ [ 327.302744] WARNING: CPU: 2 PID: 43 at drivers/gpu/drm/scheduler/sched_main.c:102 drm_sched_run_job_work+0x238/0x4d0 [gpu_sched] [ 327.302884] CPU: 2 UID: 0 PID: 43 Comm: kworker/u16:1 Not tainted 6.18.39-v8-16k+ #3 PREEMPT [ 327.302889] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT) [ 327.302893] Workqueue: v3d_bin drm_sched_run_job_work [gpu_sched] [ 327.302984] Call trace: [ 327.302987] drm_sched_run_job_work+0x238/0x4d0 [gpu_sched] (P) [ 327.302997] process_scheduled_works+0x180/0x3d0 [ 327.303010] worker_thread+0x268/0x3e8 [ 327.303016] kthread+0x140/0x250 [ 327.303022] ret_from_fork+0x10/0x20 [ 327.303031] ---[ end trace 0000000000000000 ]--- From that point on, the credit count of the CL queue is broken, causing a complete GPU hang and UI freeze. The DRM scheduler already provides a mechanism to serialize the timeout handlers of different schedulers: an ordered workqueue passed as drm_sched_init()'s @timeout_wq parameter. By default, each scheduler queues its timeout work on the system workqueue, which runs the handlers concurrently. Give all of the queues a shared ordered workqueue instead, as recommended by the DRM scheduler documentation for hardware that has distinct queues but resets globally. Added Reference https://git.kernel.org/stable/c/4da94744707b27a3ae1197bdd7127da4505dc5b1 Added Reference https://git.kernel.org/stable/c/5884851a096d8afcdf91f0e542bac193035183a6 Added Reference https://git.kernel.org/stable/c/c22a45817b9c92aa0391db60e2ed467c7e6027d7