drm/amdgpu: fix use-after-free during gpu recovery
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
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
From the CVE record · Linux
The Linux kernel’s AMDGPU driver has a use-after-free during GPU recovery when a job is freed before its firmware fence is initialized. The input does not specify what an attacker could achieve or whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux systems with the AMDGPU driver should check whether their kernel includes the fix; affected versions are not specified.