aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2023-03-08 21:37:24 +0000
committerAlex Deucher <[email protected]>2023-03-13 21:27:48 +0000
commit629fcf0b687e3244f4bc1ab0070074f836703b09 (patch)
tree77dfaceb2ce33eddd1d824701f7ac6ee102d3929 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/amd/display: add sysfs entry to read PSR residency from firmware (diff)
downloadkernel-629fcf0b687e3244f4bc1ab0070074f836703b09.tar.gz
kernel-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 <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions