{"id":"CVE-2026-139554","summary":"drm/amdgpu/userq: fix reading the WPTR at a non-zero BO offset","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/userq: fix reading the WPTR at a non-zero BO offset\n\nThe user queue UAPI permits the WPTR at any 8-byte aligned offset within a\nBO. amdgpu_userq_fence_read_wptr() locates the mapping containing the WPTR\naddress, but amdgpu_bo_kmap() returns the start of the BO, so the code read\nthe first u64 regardless of the WPTR offset. USERQ_SIGNAL uses this value as\nthe exported fence seqno, so a wrong read makes the fence signal early (or\nnever), breaking dependency synchronization.\n\nTranslate the WPTR GPU address to a byte offset within the BO, accounting\nfor the VA mapping start and the mapping's BO offset, before reading it.","modified":"2026-11-30T15:02:29.071437080Z","published":"2026-11-30T13:35:50.099Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139554.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bbe972532966269d52f689d0595b6ac30201cda3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7ae3b2043282da8de92bd925c8f6bb614633181"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cef7ee11e45c54ac06710f0d990ecd7d4cac5ed2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139554.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139554"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a292fdecd72834b3bec380baa5db1e69e7f70679"},{"fixed":"cef7ee11e45c54ac06710f0d990ecd7d4cac5ed2"},{"fixed":"bbe972532966269d52f689d0595b6ac30201cda3"},{"fixed":"c7ae3b2043282da8de92bd925c8f6bb614633181"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139554.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139554.json"}}],"schema_version":"1.9.2"}