Re: [PATCH] drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl

2023-06-01 Thread Christian König
Am 26.05.23 um 14:37 schrieb Min Li: 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. Signed-off-by: Min Li --- drivers/gpu/drm/radeon/radeon_gem.c | 2 +- 1 file changed, 1 inser

[PATCH] drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl

2023-05-28 Thread Min Li
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. Signed-off-by: Min Li --- drivers/gpu/drm/radeon/radeon_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

Re: [PATCH] drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl

2023-05-27 Thread kernel test robot
c drm-misc-next patch link: https://lore.kernel.org/r/20230526123753.16160-1-lm0963hack%40gmail.com patch subject: [PATCH] drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl config: riscv-randconfig-r042-20230526 (https://download.01.org/0day-ci/archive/20230527/20230527231

Re: [PATCH] drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl

2023-05-27 Thread kernel test robot
c drm-misc-next patch link: https://lore.kernel.org/r/20230526123753.16160-1-lm0963hack%40gmail.com patch subject: [PATCH] drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20230527/202305271806.vvoclwyb-...