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 11:50:44 -0500 |
| commit | c7c573275ec20db05be769288a3e3bb2250ec618 (patch) | |
| tree | 11cc807fe89c8c0797c58d0dcc75a3cd0362005a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8de9edb35976fa56565dc8fbb5d1310e8e10187c (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
