{"id":"CVE-2023-52678","aliases":["CVE-2023-52678"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kfd_topology.c","summary":"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?","summarySource":"cvelist","descriptions":[{"lang":"en","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?","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amdkfd: confirme que la lista no esté vacía antes de utilizar list_first_entry en kfd_topology.c Antes de usar list_first_entry, asegúrese de verificar que la lista no esté vacía; si la lista está vacía, devuelva -ENODATA . Corrige lo siguiente: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1347 kfd_create_indirect_link_prop() advertencia: can 'gpu_link' even be NULL? drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1428 kfd_add_peer_prop() advertencia: can 'iolink1' even be NULL? drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1433 kfd_add_peer_prop() advertencia: can 'iolink2' even be NULL?","source":"nvd"}],"published":"2024-05-17T14:24:42.715Z","modified":"2026-08-05T09:10:59.732Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-754"],"affected":[{"ranges":[{"type":"git","introduced":"0f28cca87e9afc22280c44d378d2a6e249933977","fixed":"4525525cb7161d08f95d0e47025323dd10214313","status":"affected"},{"type":"git","introduced":"0f28cca87e9afc22280c44d378d2a6e249933977","fixed":"5024cce888e11e5688f77df81db9e14828495d64","status":"affected"},{"type":"git","introduced":"0f28cca87e9afc22280c44d378d2a6e249933977","fixed":"4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c","status":"affected"},{"type":"git","introduced":"0f28cca87e9afc22280c44d378d2a6e249933977","fixed":"499839eca34ad62d43025ec0b46b80e77065f6d8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.75","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.14","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.2","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0","fixed":"6.1.75"},{"status":"affected","introduced":"6.2","fixed":"6.6.14"},{"status":"affected","introduced":"6.7","fixed":"6.7.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4525525cb7161d08f95d0e47025323dd10214313","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5024cce888e11e5688f77df81db9e14828495d64","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/499839eca34ad62d43025ec0b46b80e77065f6d8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-31T18:44:29.957Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52678","url":"https://www.cve.org/CVERecord?id=CVE-2023-52678","licence":"CVE Terms of Use","modified":"2026-08-05T09:10:59.732Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52678","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52678","licence":"Public domain","modified":"2026-08-04T10:18:37.543Z"}],"updatedAt":"2026-11-25T22:58:33.968Z","epss":{"score":0.00233,"percentile":0.15163,"date":"2026-12-01T12:00:22.000Z"}}