summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2023-03-08 13:37:24 -0800
committerAlex Deucher <alexander.deucher@amd.com>2023-03-13 17:27:48 -0400
commit629fcf0b687e3244f4bc1ab0070074f836703b09 (patch)
tree77dfaceb2ce33eddd1d824701f7ac6ee102d3929 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parent22f1482aff4aee39e5f3354808bc099084c2b64b (diff)
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_object.h')
0 files changed, 0 insertions, 0 deletions