Min Li 1af1cd7be3 drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl
[ Upstream commit 982b173a6c6d9472730c3116051977e05d17c8c5 ]

Userspace can race to free the gobj(robj converted from), robj should not
be accessed again after drm_gem_object_put, otherwith it will result in
use-after-free.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Min Li <lm0963hack@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-28 11:12:39 +02:00
..
2023-06-09 10:34:07 +02:00
2022-10-05 11:24:12 -07:00
2023-03-10 09:34:33 +01:00
2022-10-05 11:24:12 -07:00
2022-10-10 13:59:01 -07:00
2022-08-16 12:46:26 +02:00
2022-09-20 09:37:12 +02:00
2022-08-26 14:22:59 +02:00
2023-05-11 23:03:07 +09:00
2022-07-13 10:54:56 +10:00
2022-06-28 07:56:32 +02:00
2022-09-06 10:56:04 +02:00
2023-05-30 14:03:20 +01:00
2023-02-22 12:59:46 +01:00
2022-10-07 17:04:10 -07:00