diff options
author | 2023-03-08 13:37:24 -0800 | |
---|---|---|
committer | 2023-03-13 17:27:48 -0400 | |
commit | 629fcf0b687e3244f4bc1ab0070074f836703b09 (patch) | |
tree | 77dfaceb2ce33eddd1d824701f7ac6ee102d3929 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | drm/amd/display: add sysfs entry to read PSR residency from firmware (diff) | |
download | wireguard-linux-629fcf0b687e3244f4bc1ab0070074f836703b09.tar.xz wireguard-linux-629fcf0b687e3244f4bc1ab0070074f836703b09.zip |
drm/amdkfd: fix potential kgd_mem UAFs
kgd_mem pointers returned by kfd_process_device_translate_handle are
only guaranteed to be valid while p->mutex is held. As soon as the mutex
is unlocked, another thread can free the BO.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions