diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2023-03-08 13:37:24 -0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-03-14 10:37:22 -0400 |
commit | 9da050b0d9e04439d225a2ec3044af70cdfb3933 (patch) | |
tree | b647240a2d254a4b78aae8558cb0ac7128328cc4 /tools/perf/scripts/python/stackcollapse.py | |
parent | d71e38df3b730a17ab6b25cabb2ccfe8a7f04385 (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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions