CVE-2026-142876: drm/amdgpu/userq: wait for GPU reset before mapping or unmapping queues

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu/userq: wait for GPU reset before mapping or unmapping queues

The user queue map and unmap helpers talk to the MES, but only the create path holds resetdomain->sem around them. The eviction, restore, destroy and suspend paths can submit to the MES while a GPU reset is in progress:

WARNING: amdgpudevice.c:928 at amdgpudeviceskiphwaccess+0x73/0x90 [amdgpu] Workqueue: events amdgpuevictionfencesuspendworker [amdgpu] Call Trace: amdgpummwdoorbell64+0x20/0x70 [amdgpu] mesv110ringsetwptr+0x71/0x80 [amdgpu] amdgpuringcommit+0x5b/0xa0 [amdgpu] mesv110submitpktandpollcompletion.constprop.0+0x207/0x520 [amdgpu] mesv110removehwqueue+0xd9/0x100 [amdgpu] mesuserqunmap+0xc3/0x140 [amdgpu] amdgpuuserqunmaphelper+0x67/0x280 [amdgpu] amdgpuuserqevict+0x52/0xf0 [amdgpu] amdgpuevictionfencesuspendworker+0x55/0xe0 [amdgpu]

Take the semaphore for read in the helpers instead, around both the MES call and the queue state check and update. The reset changes the queue state from amdgpuuserqprereset()/postreset(), so every caller now waits for a running reset and acts on the state it left behind.

(cherry picked from commit e6a8b8588f43bd4d7054ac47cccc35f56ad2df90)

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch e6a8b8588f43bd4d7054ac47cccc35f56ad2df90

Event History

Dec 3, 2026
CVE Published
via MITRE·03:23 AM
Data Sourced
via MITRE·03:23 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel amdgpu user queue functionality are affected when queue mapping or unmapping can occur while a GPU reset is in progress. The affected paths include eviction, restore, destroy, and suspend operations.

2

What condition is required to trigger the problem?

A user queue map or unmap helper must submit work to the MES concurrently with an active GPU reset. The race occurs because these paths previously did not hold the reset-domain semaphore while issuing the MES operation and updating queue state.

3

How can I identify signs that a system has encountered the issue?

Kernel logs may contain a WARNING from amdgpu_device_skip_hw_access, with a stack trace involving amdgpu_eviction_fence_suspend_worker, mes_userq_unmap, amdgpu_userq_unmap_helper, and MES ring submission functions. This indicates an unmap operation attempted hardware access during reset activity.

4

What does the fix change?

The fix takes the reset-domain semaphore for reading in the queue map and unmap helpers. It covers both the MES call and queue-state checks and updates, causing callers to wait for a running reset before acting on queue state.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203