Skip to content

Commit 1245ee3

Browse files
committed
drm/amdgpu/mes: fix use-after-free issue
jira LE-3201 cve CVE-2024-38581 Rebuild_History Non-Buildable kernel-rt-4.18.0-553.22.1.rt7.363.el8_10 commit-author Jack Xiao <Jack.Xiao@amd.com> commit 9482552 Delete fence fallback timer to fix the ramdom use-after-free issue. v2: move to amdgpu_mes.c Signed-off-by: Jack Xiao <Jack.Xiao@amd.com> Acked-by: Lijo Lazar <lijo.lazar@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 9482552) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent c0ec027 commit 1245ee3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,7 @@ void amdgpu_mes_remove_ring(struct amdgpu_device *adev,
10831083
return;
10841084

10851085
amdgpu_mes_remove_hw_queue(adev, ring->hw_queue_id);
1086+
del_timer_sync(&ring->fence_drv.fallback_timer);
10861087
amdgpu_ring_fini(ring);
10871088
kfree(ring);
10881089
}

0 commit comments

Comments
 (0)