Files
linux/drivers/gpu/drm/xe
Matthew Brost 9e7f305636 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: dd08ebf6c3 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Jagmeet Randhawa <jagmeet.randhawa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240820202309.1260755-1-matthew.brost@intel.com
(cherry picked from commit 32a42c93b7)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2024-08-21 11:53:15 -04:00
..
2024-06-18 12:40:38 -07:00
2024-08-19 13:34:58 -04:00
2024-06-12 11:31:42 -04:00
2024-08-19 13:30:41 -04:00
2024-05-09 21:28:25 +02:00
2024-04-02 10:33:57 -07:00
2023-12-19 18:33:50 -05:00
2023-12-21 11:37:31 -05:00
2024-07-02 12:14:00 -04:00
2024-06-26 18:23:45 -04:00
2024-05-22 12:03:54 +02:00
2024-05-31 00:02:04 +02:00
2024-07-18 10:25:33 -04:00
2024-05-13 21:36:50 +02:00
2024-08-15 09:44:22 -04:00
2024-04-02 10:33:57 -07:00
2024-07-02 12:14:00 -04:00
2024-07-18 10:25:33 -04:00
2024-07-18 10:25:33 -04:00
2024-05-22 12:03:55 +02:00
2024-06-26 18:25:22 -04:00
2024-06-26 18:25:22 -04:00
2024-04-02 10:33:57 -07:00
2024-06-18 12:40:38 -07:00
2024-04-02 10:33:57 -07:00
2024-08-19 13:30:47 -04:00
2024-05-07 12:03:49 +02:00
2024-08-19 13:30:41 -04:00
2023-12-21 11:45:28 -05:00
2024-05-13 21:36:52 +02:00
2024-06-18 12:03:29 -07:00
2024-06-18 12:03:29 -07:00
2024-04-02 10:33:57 -07:00
2023-12-21 11:45:24 -05:00
2023-12-19 18:31:30 -05:00
2023-12-21 11:45:06 -05:00
2023-12-21 11:45:06 -05:00
2024-07-18 10:25:33 -04:00
2024-07-18 10:25:33 -04:00
2024-05-07 12:45:39 -04:00
2024-05-23 13:38:26 -04:00
2024-08-19 13:34:58 -04:00
2024-06-14 12:52:46 +02:00
2023-12-21 11:44:39 -05:00