{"id":"CVE-2023-52678","published":"2024-05-17T14:24:42Z","modified":"2026-08-05T09:10:59Z","title":"drm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kfd_topology.c","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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?","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00233,"percentile":0.14451,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4525525cb7161d08f95d0e47025323dd10214313","tags":[]},{"url":"https://git.kernel.org/stable/c/5024cce888e11e5688f77df81db9e14828495d64","tags":[]},{"url":"https://git.kernel.org/stable/c/4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c","tags":[]},{"url":"https://git.kernel.org/stable/c/499839eca34ad62d43025ec0b46b80e77065f6d8","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":2.89},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0f28cca87e9afc22280c44d378d2a6e249933977, < 4525525cb7161d08f95d0e47025323dd10214313",">= 0f28cca87e9afc22280c44d378d2a6e249933977, < 5024cce888e11e5688f77df81db9e14828495d64",">= 0f28cca87e9afc22280c44d378d2a6e249933977, < 4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c",">= 0f28cca87e9afc22280c44d378d2a6e249933977, < 499839eca34ad62d43025ec0b46b80e77065f6d8"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-31T18:44:29.957691Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-57302","exploited":false,"provenance":"source"}}