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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-30T13:35:50.099Z
- Modified: 2026-11-30T14:19:35.963Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a292fdecd72834b3bec380baa5db1e69e7f70679 before cef7ee11e45c54ac06710f0d990ecd7d4cac5ed2; from a292fdecd72834b3bec380baa5db1e69e7f70679 before bbe972532966269d52f689d0595b6ac30201cda3; from a292fdecd72834b3bec380baa5db1e69e7f70679 before c7ae3b2043282da8de92bd925c8f6bb614633181; 6.16 (not affected: before 6.16; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/cef7ee11e45c54ac06710f0d990ecd7d4cac5ed2>
- <https://git.kernel.org/stable/c/bbe972532966269d52f689d0595b6ac30201cda3>
- <https://git.kernel.org/stable/c/c7ae3b2043282da8de92bd925c8f6bb614633181>

## Sources

- CVE List: [CVE-2026-139554](https://www.cve.org/CVERecord?id=CVE-2026-139554), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139554](https://nvd.nist.gov/vuln/detail/CVE-2026-139554), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139554 · Whole record: https://cve.day/CVE-2026-139554.json · Rebuilt by cve.day 2026-11-30T14:33:07.512Z
