CVE-2026-139554: drm/amdgpu/userq: fix reading the WPTR at a non-zero BO offset
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/userq: fix reading the WPTR at a non-zero BO offset
The user queue UAPI permits the WPTR at any 8-byte aligned offset within a BO. amdgpuuserqfencereadwptr() locates the mapping containing the WPTR address, but amdgpubokmap() returns the start of the BO, so the code read the first u64 regardless of the WPTR offset. USERQSIGNAL uses this value as the exported fence seqno, so a wrong read makes the fence signal early (or never), breaking dependency synchronization.
Translate the WPTR GPU address to a byte offset within the BO, accounting for the VA mapping start and the mapping's BO offset, before reading it.