{"id":"CVE-2023-52678","summary":"drm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kfd_topology.c","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kfd_topology.c\n\nBefore using list_first_entry, make sure to check that list is not\nempty, if list is empty return -ENODATA.\n\nFixes the below:\ndrivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1347 kfd_create_indirect_link_prop() warn: can 'gpu_link' even be NULL?\ndrivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1428 kfd_add_peer_prop() warn: can 'iolink1' even be NULL?\ndrivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1433 kfd_add_peer_prop() warn: can 'iolink2' even be NULL?","modified":"2026-04-02T09:43:12.794793Z","published":"2024-05-17T14:24:42.715Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1","USN-6818-2","USN-6819-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52678.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4525525cb7161d08f95d0e47025323dd10214313"},{"type":"WEB","url":"https://git.kernel.org/stable/c/499839eca34ad62d43025ec0b46b80e77065f6d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5024cce888e11e5688f77df81db9e14828495d64"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52678.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52678"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0f28cca87e9afc22280c44d378d2a6e249933977"},{"fixed":"4525525cb7161d08f95d0e47025323dd10214313"},{"fixed":"5024cce888e11e5688f77df81db9e14828495d64"},{"fixed":"4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c"},{"fixed":"499839eca34ad62d43025ec0b46b80e77065f6d8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52678.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}