summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2025-03-11 21:29:15 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2025-04-07 23:16:07 +0300
commit20659d3150f1a2a258a173fe011013178ff2a197 (patch)
treede9088bcfefb5c68db173160cd3ca893290cb334 /scripts/gdb/linux/tasks.py
parent00e0ae4f1f872800413c819f8a2a909dc29cdc35 (diff)
downloadlinux-20659d3150f1a2a258a173fe011013178ff2a197.tar.xz
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 (cherry picked from commit 762b7e95362170b3e13a8704f38d5e47eca4ba74) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions