In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: Confirm list is non-empty before utilizing listfirstentry in kfd_topology.c
Before using listfirstentry, make sure to check that list is not empty, if list is empty return -ENODATA.
Fixes the below: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfdtopology.c:1347 kfdcreateindirectlinkprop() warn: can 'gpulink' even be NULL? drivers/gpu/drm/amd/amdgpu/../amdkfd/kfdtopology.c:1428 kfdaddpeerprop() warn: can 'iolink1' even be NULL? drivers/gpu/drm/amd/amdgpu/../amdkfd/kfdtopology.c:1433 kfdaddpeerprop() warn: can 'iolink2' even be NULL?
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52678.json"
}