7.8

CVE-2026-31566: drm/amdgpu: Fix fence put before wait in amdgpu_amdkfd_submit_ib

Modified
AliasesUBUNTU-CVE-2026-31566DEBIAN-CVE-2026-31566
Published 24-04-2026Last modified 19-10-2026

Vulnerability summary

CVE-2026-31566 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.13%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 32 · Related 26

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last modifiedVulnerability information updated.

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)

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.13%

Chance of exploitation in the next 30 days

Percentile

2%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.13% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu130 products
  • linux< 6.8.0-136.136 | All versions (No fix recorded)
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1061.64 | All versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 9ae55f030dc523fc4dc6069557e4a887ea815453, < bc7760c107dc08ef3e231d72c492e67b0a86848b | ≥ 9ae55f030dc523fc4dc6069557e4a887ea815453, < e23602eb0779760544314ed3905fa6a89a4e4070 | ≥ 9ae55f030dc523fc4dc6069557e4a887ea815453, < 138e42be35ff2ce6572ae744de851ea286cf3c69 | ≥ 9ae55f030dc523fc4dc6069557e4a887ea815453, < 39820864eacd886f1a6f817414fb8f9ea3e9a2b4 | ≥ 9ae55f030dc523fc4dc6069557e4a887ea815453, < 42d248726a0837640452b71c5a202ca3d35239ec | ≥ 9ae55f030dc523fc4dc6069557e4a887ea815453, < 7150850146ebfa4ca998f653f264b8df6f7f85be | 6.0
  • linux_kernelEOL≥ 6.0.1, < 6.1.168 | ≥ 6.2, < 6.6.131 | ≥ 6.7, < 6.12.80 | ≥ 6.13, < 6.18.21 | ≥ 6.19, < 6.19.11 | 6.0 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3 | 7.0:rc4 | 7.0:rc5 | 7.0:rc6 | 7.0:rc7
Debian1 product
  • linux< 6.1.170-1 | < 6.12.85-1 | < 6.19.11-1

3 vendors · 133 products

References

25 links
Show all 25 references