✓ CI.checkpatch: success for drm/xe: Free job before xe_exec_queue_put
Patchwork
patchwork at emeril.freedesktop.org
Tue Aug 20 20:36:33 UTC 2024
== Series Details ==
Series: drm/xe: Free job before xe_exec_queue_put
URL : https://patchwork.freedesktop.org/series/137535/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
9fe5037901cabbcdf27a6fe0dfb047ca1474d363
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit c144a68a56a07f3f8a56235d9a00a2f0ccaeb5ab
Author: Matthew Brost <matthew.brost at intel.com>
Date: Tue Aug 20 13:23:09 2024 -0700
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 at intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das at intel.com>
+ /mt/dim checkpatch 50db4c0a8d28ec0d03ea120d17a914265fa47d5c drm-intel
c144a68a56a0 drm/xe: Free job before xe_exec_queue_put
More information about the Intel-xe
mailing list