diff options
| author | Stanley.Yang <[email protected]> | 2022-11-16 09:08:22 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-11-23 15:31:25 +0000 |
| commit | 0317d73954850c48268f3db00a49e676d12b10cf (patch) | |
| tree | 7319fb10484d555afd2cee548292aa2e30262eca /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: update documentation of parameter amdgpu_gtt_size (diff) | |
| download | kernel-0317d73954850c48268f3db00a49e676d12b10cf.tar.gz kernel-0317d73954850c48268f3db00a49e676d12b10cf.zip | |
drm/amdgpu: fix use-after-free during gpu recovery
[Why]
[ 754.862560] refcount_t: underflow; use-after-free.
[ 754.862898] Call Trace:
[ 754.862903] <TASK>
[ 754.862913] amdgpu_job_free_cb+0xc2/0xe1 [amdgpu]
[ 754.863543] drm_sched_main.cold+0x34/0x39 [amd_sched]
[How]
The fw_fence may be not init, check whether dma_fence_init
is performed before job free
Signed-off-by: Stanley.Yang <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
