diff options
| author | Chia-I Wu <olvaffe@gmail.com> | 2023-03-09 00:37:24 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-03-14 00:27:48 +0300 |
| commit | 629fcf0b687e3244f4bc1ab0070074f836703b09 (patch) | |
| tree | 77dfaceb2ce33eddd1d824701f7ac6ee102d3929 /tools/perf/scripts/python | |
| parent | 22f1482aff4aee39e5f3354808bc099084c2b64b (diff) | |
| download | linux-629fcf0b687e3244f4bc1ab0070074f836703b09.tar.xz | |
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')
0 files changed, 0 insertions, 0 deletions
