amd/amdkfd: resolve a race in amdgpu_amdkfd_device_fini_sw
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:
amd/amdkfd: resolve a race in amdgpu_amdkfd_device_fini_sw
There is race in amdgpu_amdkfd_device_fini_sw and interrupt. if amdgpu_amdkfd_device_fini_sw run in b/w kfd_cleanup_nodes and kfree(kfd), and KGD interrupt generated.
kernel panic log:
BUG: kernel NULL pointer dereference, address: 0000000000000098 amdgpu 0000:c8:00.0: amdgpu: Requesting 4 partitions through PSP
PGD d78c68067 P4D d78c68067
kfd kfd: amdgpu: Allocated 3969056 bytes on gart
PUD 1465b8067 PMD @
From the CVE record · Linux
A race in the Linux kernel's AMD GPU KFD cleanup can cause a kernel panic. It occurs if a GPU interrupt arrives between KFD node cleanup and freeing the KFD structure. The input does not establish whether an attacker can trigger this race or whether authentication or user interaction is required.
Engineers running Linux kernels with AMD GPU KFD should check their systems; the affected version range is not specified.