diff options
| author | Matthew Brost <[email protected]> | 2024-08-20 20:23:09 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2024-08-21 15:53:15 +0000 |
| commit | 9e7f30563677fbeff62d368d5d2a5ac7aaa9746a (patch) | |
| tree | ff1b367ea97a3eb532e2d5883bcb099cfb7116a3 /drivers/platform/surface/aggregator/controller.c | |
| parent | drm/xe: Drop HW fence pointer to HW fence ctx (diff) | |
| download | kernel-9e7f30563677fbeff62d368d5d2a5ac7aaa9746a.tar.gz kernel-9e7f30563677fbeff62d368d5d2a5ac7aaa9746a.zip | |
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 <[email protected]>
Reviewed-by: Nirmoy Das <[email protected]>
Reviewed-by: Jagmeet Randhawa <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 32a42c93b74c8ca6d0915ea3eba21bceff53042f)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions
