diff options
| author | Alysa Liu <Alysa.Liu@amd.com> | 2026-02-05 11:21:45 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-04 13:15:00 -0500 |
| commit | 2c1030f2e84885cc58bffef6af67d5b9d2e7098f (patch) | |
| tree | 5ef78e0cff86d60a21307ed411dc19df85963872 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 68785c5e79e0fc1eacf63026fbba32be3867f410 (diff) | |
| download | linux-2c1030f2e84885cc58bffef6af67d5b9d2e7098f.tar.gz linux-2c1030f2e84885cc58bffef6af67d5b9d2e7098f.zip | |
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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
