CVE-2026-31566
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
drm/amdgpu: Fix fence put before wait in amdgpu_amdkfd_submit_ib
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix fence put before wait in amdgpu_amdkfd_submit_ib amdgpu_amdkfd_submit_ib() submits a GPU job and gets a fence from amdgpu_ib_schedule(). This fence is used to wait for job completion. Currently, the code drops the fence reference using dma_fence_put() before calling dma_fence_wait(). If dma_fence_put() releases the last reference, the fence may be freed before dma_fence_wait() is called. This can lead to a use-after-free. Fix this by waiting on the fence first and releasing the reference only after dma_fence_wait() completes. Fixes the below: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:697 amdgpu_amdkfd_submit_ib() warn: passing freed memory 'f' (line 696) (cherry picked from commit 8b9e5259adc385b61a6590a13b82ae0ac2bd3482)
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 9ae55f030dc523fc4dc6069557e4a887ea815453 | affected | git | bc7760c107dc08ef3e231d72c492e67b0a86848b | Unavailable | None listed |
| 9ae55f030dc523fc4dc6069557e4a887ea815453 | affected | git | e23602eb0779760544314ed3905fa6a89a4e4070 | Unavailable | None listed |
| 9ae55f030dc523fc4dc6069557e4a887ea815453 | affected | git | 138e42be35ff2ce6572ae744de851ea286cf3c69 | Unavailable | None listed |
| 9ae55f030dc523fc4dc6069557e4a887ea815453 | affected | git | 39820864eacd886f1a6f817414fb8f9ea3e9a2b4 | Unavailable | None listed |
| 9ae55f030dc523fc4dc6069557e4a887ea815453 | affected | git | 42d248726a0837640452b71c5a202ca3d35239ec | Unavailable | None listed |
| 9ae55f030dc523fc4dc6069557e4a887ea815453 | affected | git | 7150850146ebfa4ca998f653f264b8df6f7f85be | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.0 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.0 | Unavailable | None listed |
| 6.1.168 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.131 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.80 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.18.21 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 6.19.11 | unaffected | semver | Unavailable | 6.19.* | None listed |
| 7.0 | unaffected | original_commit_for_fix | Unavailable | * | None listed |