diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-08-20 13:23:09 -0700 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2024-08-21 08:38:37 -0700 |
commit | 32a42c93b74c8ca6d0915ea3eba21bceff53042f (patch) | |
tree | 2557d044046e633d664f7614b311b262a833c7ad /tools/perf/scripts/python/mem-phys-addr.py | |
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 <matthew.brost@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Jagmeet Randhawa <jagmeet.randhawa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240820202309.1260755-1-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions