Min Li 26b2ac8e8e 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 10:15:31 +02:00
..
2019-12-13 08:52:44 +01:00
2020-06-30 23:17:17 -04:00
2021-11-26 11:36:24 +01:00
2023-05-17 11:13:08 +02:00
2018-07-13 18:40:28 +02:00
2020-02-11 04:34:07 -08:00
2018-12-13 09:16:21 +01:00
2021-03-30 14:36:58 +02:00