aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorMin Li <[email protected]>2023-06-03 07:43:45 +0000
committerAlex Deucher <[email protected]>2023-06-09 16:41:08 +0000
commite6850f98efc70277dc0e941e905182738e7327a0 (patch)
tree8d0a5d644d8cb621edf6d5714bd6acec1c7914da /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentRevert "drm/amdgpu: switch to golden tsc registers for raven/raven2" (diff)
downloadkernel-e6850f98efc70277dc0e941e905182738e7327a0.tar.gz
kernel-e6850f98efc70277dc0e941e905182738e7327a0.zip
drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl
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 <[email protected]> Signed-off-by: Min Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions