CVE-2023-52678CWE-754

CVE-2023-52678

High · published May 17, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
13.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kfd_topology.c

Before using list_first_entry, make sure to check that list is not

empty, if list is empty return -ENODATA.

Fixes the below:

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1347 kfd_create_indirect_link_prop() warn: can 'gpu_link' even be NULL?

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1428 kfd_add_peer_prop() warn: can 'iolink1' even be NULL?

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1433 kfd_add_peer_prop() warn: can 'iolink2' even be NULL?

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00233 · 13.4th percentile
Weakness
CWE-754 · Improper Check for Unusual or Exceptional Conditions
Published
2024-05-17T19:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 6.0, < 6.1.756.1.75
linux/linux_kernel≥ 6.2, < 6.6.146.6.14
linux/linux_kernel≥ 6.7, < 6.7.26.7.2
References (8)
EPSS history
Timeline
  • 17 MAY 14:24Z
    drm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kfd_topology.c
    cvelistv5