{"id":"CVE-2026-142875","summary":"drm/amdgpu: stop the schedulers before preparing the GPU reset","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: stop the schedulers before preparing the GPU reset\n\namdgpu_device_halt_activities() only stops the ring schedulers after\namdgpu_amdkfd_pre_reset() and amdgpu_userq_pre_reset(). With a hung MES\nevery REMOVE_QUEUE in amdgpu_userq_pre_reset() waits for its timeout, so\nthe schedulers keep pushing jobs to the hardware for seconds after the\nreset has started:\n\n  GPU reset begin!. Source:  6\n  MES failed to respond to msg=REMOVE_QUEUE fence_wait_ret=528494 status=0x0\n  WARNING: amdgpu_device.c:928 at amdgpu_device_skip_hw_access+0x73/0x90 [amdgpu]\n  Workqueue: sdma0 drm_sched_run_job_work [gpu_sched]\n  Call Trace:\n   amdgpu_mm_wdoorbell64+0x20/0x70 [amdgpu]\n   sdma_v6_0_ring_set_wptr+0xa6/0x180 [amdgpu]\n   amdgpu_ring_commit+0x5b/0xa0 [amdgpu]\n   amdgpu_ib_schedule+0x64a/0x8f0 [amdgpu]\n   amdgpu_job_run+0xa2/0x220 [amdgpu]\n   drm_sched_run_job_work+0x10c/0x300 [gpu_sched]\n\nStop the schedulers of all devices in the reset list first. None of the\npreparation steps needs them, and jobs submitted meanwhile simply wait\nuntil amdgpu_device_sched_resume().\n\n(cherry picked from commit ea55250ab5594032541c455e1b84e8a7c15a2ba4)","modified":"2026-12-03T05:01:03.660337793Z","published":"2026-12-03T03:23:33.757Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142875.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b40c07c7ae9f80ec5277bc44c63f354ff581077"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb0953398da65ca317e84a6a9607359f5699728e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142875.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142875"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"290f46cf5726509f55fac4c7abe9b9d311aa5a3a"},{"fixed":"eb0953398da65ca317e84a6a9607359f5699728e"},{"fixed":"5b40c07c7ae9f80ec5277bc44c63f354ff581077"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142875.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142875.json"}}],"schema_version":"1.9.2"}