CVE-2026-142875: drm/amdgpu: stop the schedulers before preparing the GPU reset
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: stop the schedulers before preparing the GPU reset
amdgpudevicehaltactivities() only stops the ring schedulers after amdgpuamdkfdprereset() and amdgpuuserqprereset(). With a hung MES every REMOVEQUEUE in amdgpuuserqprereset() waits for its timeout, so the schedulers keep pushing jobs to the hardware for seconds after the reset has started:
GPU reset begin!. Source: 6 MES failed to respond to msg=REMOVEQUEUE fencewaitret=528494 status=0x0 WARNING: amdgpudevice.c:928 at amdgpudeviceskiphwaccess+0x73/0x90 [amdgpu] Workqueue: sdma0 drmschedrunjobwork [gpusched] Call Trace: amdgpummwdoorbell64+0x20/0x70 [amdgpu] sdmav60ringsetwptr+0xa6/0x180 [amdgpu] amdgpuringcommit+0x5b/0xa0 [amdgpu] amdgpuibschedule+0x64a/0x8f0 [amdgpu] amdgpujobrun+0xa2/0x220 [amdgpu] drmschedrunjobwork+0x10c/0x300 [gpusched]
Stop the schedulers of all devices in the reset list first. None of the preparation steps needs them, and jobs submitted meanwhile simply wait until amdgpudeviceschedresume().
(cherry picked from commit ea55250ab5594032541c455e1b84e8a7c15a2ba4)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.5 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch ea55250ab5594032541c455e1b84e8a7c15a2ba4
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems using the Linux kernel AMDGPU driver and encountering a GPU reset while the MES is hung are implicated. The described behavior involves scheduler activity during reset preparation, including user queue removal and SDMA scheduler work.
What condition triggers the problematic behavior?
The issue occurs when a GPU reset begins while a hung MES causes REMOVE_QUEUE operations in amdgpu_userq_pre_reset() to wait for their timeouts. During that delay, ring schedulers can continue submitting jobs to hardware after reset has started.
What is the operational impact during a reset?
Jobs may continue to be pushed to GPU hardware for several seconds after the reset begins, producing warnings related to skipped hardware access. Jobs submitted after the correction are instead held until amdgpu_device_sched_resume().
What mitigation is described if the fix is not yet applied?
The provided data does not describe a configuration workaround. The implemented remediation stops schedulers for all devices in the reset list before running reset preparation steps.