diff options
author | Matthew Brost <[email protected]> | 2024-08-20 13:23:09 -0700 |
---|---|---|
committer | Matthew Brost <[email protected]> | 2024-08-21 08:38:37 -0700 |
commit | 32a42c93b74c8ca6d0915ea3eba21bceff53042f (patch) | |
tree | 2557d044046e633d664f7614b311b262a833c7ad /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 60db6f540af9f93144d5039140aa2ed17171d168 (diff) |
drm/xe: Free job before xe_exec_queue_put
Free job depends on job->vm being valid, the last xe_exec_queue_put can
destroy the VM. Prevent UAF by freeing job before xe_exec_queue_put.
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Nirmoy Das <[email protected]>
Reviewed-by: Jagmeet Randhawa <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions