diff options
| author | Daniil Dulov <[email protected]> | 2023-05-11 04:23:14 -0700 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 09:38:38 -0400 |
| commit | cabbdea1f1861098991768d7bbf5a49ed1608213 (patch) | |
| tree | d3cb0cd366ce0d193c99965625ed1c0afd40615b /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 6d99f3f4ea948f26b074a069c0406dd7f1cb0d8f (diff) | |
drm/amdkfd: Fix potential deallocation of previously deallocated memory.
Pointer mqd_mem_obj can be deallocated in kfd_gtt_sa_allocate().
The function then returns non-zero value, which causes the second deallocation.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: d1f8f0d17d40 ("drm/amdkfd: Move non-sdma mqd allocation out of init_mqd")
Signed-off-by: Daniil Dulov <[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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions