drm/amdgpu/userq: fix reading the WPTR at a non-zero BO offset
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | a292fdecd72834b3bec380baa5db1e69e7f70679 to before cef7ee11e45c54ac06710f0d990ecd7d4cac5ed2 Affecteda292fdecd72834b3bec380baa5db1e69e7f70679 to before bbe972532966269d52f689d0595b6ac30201cda3 Affecteda292fdecd72834b3bec380baa5db1e69e7f70679 to before c7ae3b2043282da8de92bd925c8f6bb614633181 Affected |
| Linux Linux | 6.16 Affectedbefore 6.16 Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.