Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139554

drm/amdgpu/userq: fix reading the WPTR at a non-zero BO offset

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

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. amdgpu_userq_fence_read_wptr() locates the mapping containing the WPTR address, but amdgpu_bo_kmap() returns the start of the BO, so the code read the first u64 regardless of the WPTR offset. USERQ_SIGNAL 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.

Affected products and versions

Linux Linuxa292fdecd72834b3bec380baa5db1e69e7f70679 – < cef7ee11e45c54ac06710f0d990ecd7d4cac5ed2 · a292fdecd72834b3bec380baa5db1e69e7f70679 – < bbe972532966269d52f689d0595b6ac30201cda3 · a292fdecd72834b3bec380baa5db1e69e7f70679 – < c7ae3b2043282da8de92bd925c8f6bb614633181Fixed in: cef7ee11e45c54ac06710f0d990ecd7d4cac5ed2 · bbe972532966269d52f689d0595b6ac30201cda3 · c7ae3b2043282da8de92bd925c8f6bb614633181
Linux Linux6.16Fixed in: 6.18.65 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.