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
..
2023-06-14 10:57:14 +02:00
2018-07-13 18:40:27 +02:00
2020-08-19 08:14:54 +02:00
2018-07-30 11:53:06 +01:00
2019-09-06 10:21:59 +02:00
2020-02-11 04:34:16 -08:00
2020-04-13 10:44:59 +02:00
2023-03-11 16:31:39 +01:00
2019-04-20 09:16:00 +02:00
2023-04-05 11:15:42 +02:00
2023-06-28 10:15:31 +02:00
2023-01-18 11:30:37 +01:00
2022-06-14 16:59:30 +02:00
2020-01-27 14:49:55 +01:00
2018-10-04 10:32:14 +10:00
2019-12-13 08:52:44 +01:00
2023-03-22 13:27:12 +01:00
2022-11-25 17:40:22 +01:00
2023-03-11 16:31:41 +01:00
2022-09-28 11:02:52 +02:00
2018-07-13 18:40:27 +02:00
2023-05-17 11:13:09 +02:00
2023-03-11 16:31:39 +01:00
2023-06-21 15:39:59 +02:00
2020-12-30 11:25:54 +01:00
2023-05-17 11:13:26 +02:00
2019-06-15 11:54:00 +02:00
2021-07-20 16:15:49 +02:00
2023-06-28 10:15:31 +02:00
2020-06-30 23:17:17 -04:00
2023-05-17 11:13:08 +02:00
2018-08-09 11:57:39 -05:00
2020-01-27 14:50:12 +01:00
2023-01-18 11:30:37 +01:00
2019-10-07 18:56:31 +02:00
2020-11-24 13:27:22 +01:00
2023-05-30 12:42:08 +01:00
2022-07-29 17:10:35 +02:00
2019-05-31 06:46:32 -07:00
2020-11-05 11:08:54 +01:00
2020-12-30 11:25:49 +01:00
2021-11-26 11:36:24 +01:00
2019-05-31 06:46:34 -07:00
2023-03-11 16:31:39 +01:00
2023-05-17 11:13:08 +02:00
2023-01-18 11:30:56 +01:00
2020-06-22 09:05:08 +02:00
2023-01-18 11:30:45 +01:00
2020-12-30 11:25:43 +01:00
2021-07-20 16:15:58 +02:00
2021-01-27 11:05:36 +01:00
2020-12-02 08:48:08 +01:00
2021-06-16 11:54:59 +02:00
2019-07-14 08:11:14 +02:00
2018-10-02 13:03:34 +02:00
2023-01-18 11:30:44 +01:00
2020-01-27 14:50:10 +01:00
2022-07-02 16:27:38 +02:00
2018-07-13 18:40:27 +02:00
2019-06-09 09:17:23 +02:00
2020-02-24 08:34:45 +01:00
2020-08-19 08:14:52 +02:00
2020-12-30 11:26:13 +01:00
2018-07-28 15:50:40 -03:00
2018-07-16 11:47:53 -04:00
2022-05-25 09:10:38 +02:00
2019-05-31 06:46:34 -07:00
2019-07-31 07:26:58 +02:00
2022-06-14 16:59:19 +02:00
2020-06-25 15:33:06 +02:00
2018-10-02 13:03:34 +02:00
2022-07-02 16:27:38 +02:00
2019-05-31 06:46:34 -07:00
2018-07-18 16:56:45 +01:00
2019-08-16 10:12:46 +02:00
2020-08-05 10:06:01 +02:00
2018-12-13 09:16:21 +01:00
2021-09-03 09:58:02 +02:00
2022-10-26 13:19:38 +02:00
2022-07-02 16:27:38 +02:00
2020-03-25 08:06:12 +01:00
2023-03-11 16:31:40 +01:00
2019-03-27 14:14:42 +09:00
2019-02-15 08:10:12 +01:00
2018-07-13 18:40:28 +02:00
2022-12-08 11:18:28 +01:00
2018-09-27 11:00:42 -04:00
2020-04-17 10:48:55 +02:00
2021-11-26 11:36:14 +01:00
2022-06-14 16:59:16 +02:00
2018-07-30 08:49:41 -04:00
2023-05-17 11:13:08 +02:00
2020-01-09 10:18:59 +01:00
2020-02-11 04:34:07 -08:00
2018-07-13 18:40:27 +02:00
2018-09-26 10:39:14 -04:00
2018-12-13 09:16:21 +01:00
2019-12-31 16:35:01 +01:00
2018-07-16 16:35:27 +01:00
2021-03-30 14:36:58 +02:00
2018-07-13 17:58:19 +03:00