CVE-2026-31566
published high CVSS 3.1 · 7.8drm/amdgpu: Fix fence put before wait in amdgpu_amdkfd_submit_ib
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9ae55f030dc523fc4dc6069557e4a887ea815453 to < bc7760c107dc08ef3e231d72c492e67b0a86848b · 9ae55f030dc523fc4dc6069557e4a887ea815453 to < e23602eb0779760544314ed3905fa6a89a4e4070 · 9ae55f030dc523fc4dc6069557e4a887ea815453 to < 138e42be35ff2ce6572ae744de851ea286cf3c69 · 9ae55f030dc523fc4dc6069557e4a887ea815453 to < 39820864eacd886f1a6f817414fb8f9ea3e9a2b4 · 9ae55f030dc523fc4dc6069557e4a887ea815453 to < 42d248726a0837640452b71c5a202ca3d35239ec · 9ae55f030dc523fc4dc6069557e4a887ea815453 to < 7150850146ebfa4ca998f653f264b8df6f7f85be · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.1.168 through 6.1.* (unaffected · semver) · 6.6.131 through 6.6.* (unaffected · semver) · 6.12.80 through 6.12.* (unaffected · semver) · 6.18.21 through 6.18.* (unaffected · semver) · 6.19.11 through 6.19.* (unaffected · semver) · 7.0 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 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.55.1.el10_2 | ALSA-2026:67471 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.55.1.el10_2 | ALSA-2026:67471 |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.168.1.rt7.509.el8_10 | ALSA-2026:71330 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.168.1.rt7.509.el8_10 | ALSA-2026:71330 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.168.1.rt7.509.el8_10 | ALSA-2026:71330 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.168.1.rt7.509.el8_10 | ALSA-2026:71330 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.168.1.rt7.509.el8_10 | ALSA-2026:71330 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.168.1.rt7.509.el8_10 | ALSA-2026:71330 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.168.1.rt7.509.el8_10 | ALSA-2026:71330 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.168.1.rt7.509.el8_10 | ALSA-2026:71330 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.168.1.rt7.509.el8_10 | ALSA-2026:71330 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.168.1.rt7.509.el8_10 | ALSA-2026:71330 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.168.1.el8_10 | ALSA-2026:71329 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-687.47.1.el9_8 | ALSA-2026:67150 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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)
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.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable `amdgpu_amdkfd_submit_ib()` path is reached from local userspace through `/dev/kfd` and AMDGPU/KFD queue ioctls, not through network, adjacent, or physical input. AC:L - On an affected AMDGPU KFD/NO_HWS Hawaii deployment, an attacker can drive the queue create/destroy path and repeatedly trigger the fence lifetime bug without relying on victim-controlled timing. When uncertain, the lower-complexity option is appropriate. PR:L - The path requires local access to the KFD/AMDGPU device interfaces and a render/DRM VM FD, but no kernel administrative capability is checked by the relevant KFD queue ioctls. This is ordinary low-privileged local GPU access rather than real root. UI:N - After obtaining local device access, the attacker can issue the ioctl sequence themselves. No separate victim action is required. S:U - The impact is within the same kernel security authority: corrupting or crashing kernel/driver state from a local kernel attack surface. It does not cross a VM, IOMMU, or comparable security boundary. C:H - The bug is a use-after-free of a `dma_fence`/AMDGPU fence object used by `dma_fence_wait()`. Per kernel scoring guidance, UAF memory corruption can be leveraged for high confidentiality impact. I:H - The same UAF exposes kernel object lifetime corruption in a wait path using function pointers, locks, callbacks, and list state. Per guidance, UAF memory corruption is scored as high integrity impact. A:H - Even without full exploitation, using a freed fence in `dma_fence_wait()` can cause kernel warnings, crashes, hangs, or panics. A kernel UAF therefore has high availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9ae55f030dc523fc4dc6069557e4a887ea815453 to < bc7760c107dc08ef3e231d72c492e67b0a86848b (affected · git)9ae55f030dc523fc4dc6069557e4a887ea815453 to < e23602eb0779760544314ed3905fa6a89a4e4070 (affected · git)9ae55f030dc523fc4dc6069557e4a887ea815453 to < 138e42be35ff2ce6572ae744de851ea286cf3c69 (affected · git)9ae55f030dc523fc4dc6069557e4a887ea815453 to < 39820864eacd886f1a6f817414fb8f9ea3e9a2b4 (affected · git)9ae55f030dc523fc4dc6069557e4a887ea815453 to < 42d248726a0837640452b71c5a202ca3d35239ec (affected · git)9ae55f030dc523fc4dc6069557e4a887ea815453 to < 7150850146ebfa4ca998f653f264b8df6f7f85be (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.0 (affected)0 to < 6.0 (unaffected · semver)6.1.168 through 6.1.* (unaffected · semver)6.6.131 through 6.6.* (unaffected · semver)6.12.80 through 6.12.* (unaffected · semver)6.18.21 through 6.18.* (unaffected · semver)6.19.11 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
6- https://git.kernel.org/stable/c/138e42be35ff2ce6572ae744de851ea286cf3c69
- https://git.kernel.org/stable/c/39820864eacd886f1a6f817414fb8f9ea3e9a2b4
- https://git.kernel.org/stable/c/42d248726a0837640452b71c5a202ca3d35239ec
- https://git.kernel.org/stable/c/7150850146ebfa4ca998f653f264b8df6f7f85be
- https://git.kernel.org/stable/c/bc7760c107dc08ef3e231d72c492e67b0a86848b
- https://git.kernel.org/stable/c/e23602eb0779760544314ed3905fa6a89a4e4070
Provider assertions
2Linux · cna
drm/amdgpu: Fix fence put before wait in amdgpu_amdkfd_submit_ib
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 419f5c1f1a4ea2017687cc2691218cb7f102bc03040c611a65416deffb8eed0a
- Ingested
- 19 Oct 2026, 18:57:59 UTC
- Source record
- Official CVE record