Loading
drm/amdgpu: Fix use-after-free race in VM acquire
Replace non-atomic vm->process_info assignment with cmpxchg() to prevent race when parent/child processes sharing a drm_file both try to acquire the same VM after fork(). Reviewed-by:Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by:
Alysa Liu <Alysa.Liu@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>