CVE-2026-99630
published high CVSS 3.1 · 7.0drm/amdgpu/userq: validate the moved individual BOs on restore
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4cdbba5a16aaf16513b69cc332b1d6f971a44b52 to < 2664f497d5e35384736e42fc59e5b9ef27ca791a · 4cdbba5a16aaf16513b69cc332b1d6f971a44b52 to < ce5f2a25bdf6b2bccfc4ffb5e4c5f12e97eeace1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.2 (affected) · 0 to < 7.2 (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/userq: validate the moved individual BOs on restore An individual BO of a user queue VM, i.e. one which doesn't share the root reservation, goes to the individual needs_update list when it is evicted. The user queue restore looked at vm->invalidated for them, which the VM state machine rework turned into the always_valid evicted list and commit 18decfc9e8cc ("drm/amdgpu/userq: actually validate userq BOs") into the individual evicted one. That list only holds imported DMA-bufs of compute VMs though, so for a user queue VM nothing is validated. The restore then neither locks such a BO nor moves it back. Its PTEs are updated to wherever it is now, cleared if it went to system memory, and it doesn't get the new eviction fence, so it can move again under the running queue. On navi48, once the BOs of an SDMA user queue are evicted from GTT (debugfs amdgpu_evict_gtt) the queue faults on its ring and rptr: amdgpu 0000:03:00.0: in page starting at address 0x0000000100000000 from client 10 amdgpu 0000:03:00.0: Faulty UTCL2 client ID: SDMA0 (0xd) amdgpu 0000:03:00.0: in page starting at address 0x0000000100101000 from client 10 Validate the BOs on the individual needs_update list like before. (cherry picked from commit eb0d94765d4be18d41e93ad09947dd9cc06ed31a)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The buggy amdgpu_userq_bo_validate runs from amdgpu_userq_restore_worker, which resume_work schedules after TTM evicts individual BOs of a process that created the queue through the local DRM_IOCTL_AMDGPU_USERQ (amdgpu_userq_ioctl). The moved pages are that process's GEM buffers. AC:H - Reaching amdgpu_userq_bo_validate requires usermode queues, but gfx_v12_0_early_init and sdma_v7_0_early_init set disable_uq for the default amdgpu.user_queue=-1 and only install userq_funcs when an admin sets the parameter to 1 or 2. The attacker cannot create that state. PR:L - DRM_IOCTL_AMDGPU_USERQ is DRM_AUTH|DRM_RENDER_ALLOW, and drm_ioctl_permit allows a render-node client without CAP_SYS_ADMIN, so an unprivileged local user who can open the render node can create the queue and allocate the BOs that TTM evicts. UI:N - The attacker opens the render node, creates the user queue in amdgpu_userq_create, and forces the TTM eviction that signals the eviction fence and schedules resume_work. No other principal has to act. S:U - The corrupted mapping is a GPUVM PTE in the caller's fpriv->vm, rewritten by amdgpu_vm_bo_update and consumed by that same process's user queue. Impact stays in the host kernel that owns the GPU. C:H - amdgpu_evf_mgr_rearm fences only drm_exec-locked objects, so the missed needs_update BO gets no new eviction fence. A later move leaves the VALID PTE from amdgpu_vm_bo_update pointing at a recycled DMA address the running queue can still fetch or SDMA-copy from. I:H - That PTE stays writable: amdgpu_vm_bo_invalidate only sets moved and links the bo_va onto individual.needs_update, so an SDMA or GFX store, or rptr writeback, through the still-mapped user queue writes the old page after TTM has recycled it. A:H - A BO left in TTM_PL_SYSTEM loses AMDGPU_PTE_VALID in amdgpu_ttm_tt_pde_flags, and the restored queue faults in gmc_v12_0_process_interrupt (the navi48 SDMA0 ring/rptr fault). The unfenced BO can also be moved under the mapped queue, which is a use-after-move of the backing page.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4cdbba5a16aaf16513b69cc332b1d6f971a44b52 to < 2664f497d5e35384736e42fc59e5b9ef27ca791a (affected · git)4cdbba5a16aaf16513b69cc332b1d6f971a44b52 to < ce5f2a25bdf6b2bccfc4ffb5e4c5f12e97eeace1 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.2 (affected)0 to < 7.2 (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
drm/amdgpu/userq: validate the moved individual BOs on restore
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6489a5bd574a1188d64afb1a0919f79091e6616800ff1cbb9a9133efe038ab2b
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record