Files
linux/drivers/gpu/drm/xe
Varun Gupta 0cfe9c4838 drm/xe: Fix memory leak in xe_vm_madvise_ioctl
When check_bo_args_are_sane() validation fails, jump to the new
free_vmas cleanup label to properly free the allocated resources.
This ensures proper cleanup in this error path.

Fixes: 293032eec4 ("drm/xe/bo: Update atomic_access attribute on madvise")
Cc: stable@vger.kernel.org # v6.18+
Reviewed-by: Shuicheng Lin <shuicheng.lin@intel.com>
Signed-off-by: Varun Gupta <varun.gupta@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260223175145.1532801-1-varun.gupta@intel.com
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
(cherry picked from commit 29bd06faf727a4b76663e4be0f7d770e2d2a7965)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2026-03-04 08:54:19 -05:00
..
2025-10-15 22:48:54 -07:00
2025-07-01 13:58:50 -07:00
2026-01-12 16:28:48 +01:00
2025-12-22 10:22:00 -08:00
2026-01-26 16:43:06 -05:00
2024-05-22 12:03:55 +02:00
2025-11-12 08:57:27 -08:00
2025-01-27 08:54:06 -08:00
2025-02-03 11:51:26 -08:00
2024-05-13 21:36:52 +02:00
2026-01-15 07:05:04 -08:00
2025-06-27 14:52:31 -07:00
2026-01-15 07:05:04 -08:00
2025-12-24 07:59:35 -08:00