[PATCH] drm/xe: Use local fence in error path of xe_migrate_clear
Matthew Auld
matthew.auld at intel.com
Wed Mar 12 09:49:49 UTC 2025
On 11/03/2025 18:29, Matthew Brost wrote:
> 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")
> Signed-off-by: Matthew Brost <matthew.brost at intel.com>Reviewed-by: Matthew Auld <matthew.auld at intel.com>
More information about the Intel-xe
mailing list