CVE-2026-99625
published high CVSS 3.1 · 7.0drm/amdgpu: Fix duplicate dependency fence releases
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc1c4a8b217213c1924eabf4f28385bbee9cc50c1 to < 1ef3c576f552997990eaf9acf9fd5a9fc1f3ecfa · c1c4a8b217213c1924eabf4f28385bbee9cc50c1 to < 9ef784728cfbfcccfed5d3ea92f7861571efc064 · c1c4a8b217213c1924eabf4f28385bbee9cc50c1 to < 5d6e0c2dccf210838ed4eaf4d736a48532bf7bc5 · c1c4a8b217213c1924eabf4f28385bbee9cc50c1 to < 4cb2aeb7f23d25b8349ee87048415818b94320ad · c1c4a8b217213c1924eabf4f28385bbee9cc50c1 to < ea47f84199241dd083d40a241beea665415d4f6c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (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 |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix duplicate dependency fence releases drm_sched_job_add_dependency() consumes its fence reference on success and failure. Do not release the fence again if drm_sched_job_add_dependency() fails. (cherry picked from commit e04f3dfb2071451633e6440a3911a9bb65df9144)
Related advisories
Vendor advisories explicitly linked to 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 extra dma_fence_put is in amdgpu_sync_push_to_job, called from amdgpu_cs_sync_rings during AMDGPU_CS (amdgpu_cs_ioctl), and in amdgpu_vm_sdma_update, called from amdgpu_vm_bo_update on that same ioctl. Both paths handle a local dma_fence installed by the submitting process. AC:H - The extra put runs only when drm_sched_job_add_dependency fails, which is only xa_alloc returning ENOMEM (xa_limit_32b is not exhaustible). The caller cannot force that GFP_KERNEL xarray-node allocation to fail at will; amdgpu_vm_eviction_lock also sets PF_MEMALLOC, so that path skips reclaim and draws on reserves. PR:L - AMDGPU_CS is registered DRM_AUTH|DRM_RENDER_ALLOW, and drm_ioctl_permit accepts a render-node fd without CAP_SYS_ADMIN or DRM master. A local user who can open /dev/dri/renderD* reaches amdgpu_cs_ioctl. UI:N - The attacker opens the render node and submits AMDGPU_CS with an unsignaled syncobj dependency themselves. No other user has to mount media or act on the submission. S:U - The unbalanced put frees a dma_fence still referenced by an amdgpu_sync_entry, a drm_syncobj, or a page-table BO dma_resv in the caller's kernel, the same security authority as AMDGPU_CS. C:H - amdgpu_sync_free's dma_fence_put, after the extra put in amdgpu_sync_push_to_job, can drive the kref to zero and dma_fence_release kfree_rcu's the fence while a drm_syncobj or dma_resv still points at it. Later waits read the freed fence, including ops and error. I:H - dma_fence_release calls fence->ops->release, and a later wait invokes ops->wait or ops->enable_signaling on the reclaimed dma_fence. Those are function pointers (drm_sched_fence_ops_scheduled/finished), so reclaiming the slot is kernel code execution. A:H - Freeing the fence from the unbalanced dma_fence_put, or using it afterward from amdgpu_sync_entry_free or the PT BO reservation object, dereferences freed memory and oopses the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c1c4a8b217213c1924eabf4f28385bbee9cc50c1 to < 1ef3c576f552997990eaf9acf9fd5a9fc1f3ecfa (affected · git)c1c4a8b217213c1924eabf4f28385bbee9cc50c1 to < 9ef784728cfbfcccfed5d3ea92f7861571efc064 (affected · git)c1c4a8b217213c1924eabf4f28385bbee9cc50c1 to < 5d6e0c2dccf210838ed4eaf4d736a48532bf7bc5 (affected · git)c1c4a8b217213c1924eabf4f28385bbee9cc50c1 to < 4cb2aeb7f23d25b8349ee87048415818b94320ad (affected · git)c1c4a8b217213c1924eabf4f28385bbee9cc50c1 to < ea47f84199241dd083d40a241beea665415d4f6c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.2 (affected)0 to < 6.2 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (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
5- https://git.kernel.org/stable/c/1ef3c576f552997990eaf9acf9fd5a9fc1f3ecfa
- https://git.kernel.org/stable/c/4cb2aeb7f23d25b8349ee87048415818b94320ad
- https://git.kernel.org/stable/c/5d6e0c2dccf210838ed4eaf4d736a48532bf7bc5
- https://git.kernel.org/stable/c/9ef784728cfbfcccfed5d3ea92f7861571efc064
- https://git.kernel.org/stable/c/ea47f84199241dd083d40a241beea665415d4f6c
Provider assertions
1Linux · cna
drm/amdgpu: Fix duplicate dependency fence releases
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e86227c8232a6efdeee59c7497d3fdd325aeabeca5985e87592c96ff55b2880f
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record