summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorAlysa Liu <Alysa.Liu@amd.com>2026-02-05 19:21:45 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-03-04 21:15:00 +0300
commit2c1030f2e84885cc58bffef6af67d5b9d2e7098f (patch)
tree5ef78e0cff86d60a21307ed411dc19df85963872 /include/uapi/linux/errqueue.h
parent68785c5e79e0fc1eacf63026fbba32be3867f410 (diff)
downloadlinux-2c1030f2e84885cc58bffef6af67d5b9d2e7098f.tar.xz
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> (cherry picked from commit c7c573275ec20db05be769288a3e3bb2250ec618) Cc: stable@vger.kernel.org
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions