aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2023-03-08 13:37:24 -0800
committerAlex Deucher <[email protected]>2023-03-14 10:37:22 -0400
commit9da050b0d9e04439d225a2ec3044af70cdfb3933 (patch)
treeb647240a2d254a4b78aae8558cb0ac7128328cc4 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentd71e38df3b730a17ab6b25cabb2ccfe8a7f04385 (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 <[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_device.c')
0 files changed, 0 insertions, 0 deletions