diff options
author | Matthew Brost <matthew.brost@intel.com> | 2025-03-11 11:29:15 -0700 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2025-03-27 15:30:57 -0700 |
commit | 762b7e95362170b3e13a8704f38d5e47eca4ba74 (patch) | |
tree | 85bc6cc6c744c913ed63f723a95763736779ba7c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 12468e519f98e4d93370712e3607fab61df9dae9 (diff) |
drm/xe: Use local fence in error path of xe_migrate_clear
The intent of the error path in xe_migrate_clear is to wait on locally
generated fence and then return. The code is waiting on m->fence which
could be the local fence but this is only stable under the job mutex
leading to a possible UAF. Fix code to wait on local fence.
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20250311182915.3606291-1-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions