Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-83690.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-83690
Upstream
Published
2026-04-24T15:16:31Z
Modified
2026-08-28T17:45:11.180361982Z
Summary
CVE-2026-31566 affecting package kernel for versions less than 6.6.134.1-2
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix fence put before wait in amdgpuamdkfdsubmit_ib

amdgpuamdkfdsubmitib() submits a GPU job and gets a fence from amdgpuib_schedule(). This fence is used to wait for job completion.

Currently, the code drops the fence reference using dmafenceput() before calling dmafencewait().

If dmafenceput() releases the last reference, the fence may be freed before dmafencewait() is called. This can lead to a use-after-free.

Fix this by waiting on the fence first and releasing the reference only after dmafencewait() completes.

Fixes the below: drivers/gpu/drm/amd/amdgpu/amdgpuamdkfd.c:697 amdgpuamdkfdsubmitib() warn: passing freed memory 'f' (line 696)

(cherry picked from commit 8b9e5259adc385b61a6590a13b82ae0ac2bd3482)

References

Affected packages

Azure Linux:3 / kernel

Package

Name
kernel
Purl
pkg:rpm/azure-linux/kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.134.1-2

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-83690.json"