Skip to content

Commit c966c2c

Browse files
committed
drm/amdgpu/mes: fix use-after-free issue
jira VULN-8245 cve CVE-2024-38581 commit-author Jack Xiao <[email protected]> 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 <[email protected]> Acked-by: Lijo Lazar <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 9482552) Signed-off-by: Marcin Wcisło <[email protected]>
1 parent 6eeb3a2 commit c966c2c

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
@@ -1067,6 +1067,7 @@ void amdgpu_mes_remove_ring(struct amdgpu_device *adev,
10671067
return;
10681068

10691069
amdgpu_mes_remove_hw_queue(adev, ring->hw_queue_id);
1070+
del_timer_sync(&ring->fence_drv.fallback_timer);
10701071
amdgpu_ring_fini(ring);
10711072
kfree(ring);
10721073
}

0 commit comments

Comments
 (0)