CVEvulnerability
CVE-2023-52678
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-05-17
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-754
Description
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?
Affected configurations
• linux linux kernel (>= 6.0 < 6.1.75)
• linux linux kernel (>= 6.2 < 6.6.14)
• linux linux kernel (>= 6.7 < 6.7.2)
Related
Weakness · CWE (1)
- CWE-754 Improper Check for Unusual or Exceptional Conditions weakness
References
- https://git.kernel.org/stable/c/4525525cb7161d08f95d0e47025323dd10214313 Patch
- https://git.kernel.org/stable/c/499839eca34ad62d43025ec0b46b80e77065f6d8 Patch
- https://git.kernel.org/stable/c/4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c Patch
- https://git.kernel.org/stable/c/5024cce888e11e5688f77df81db9e14828495d64 Patch
- https://git.kernel.org/stable/c/4525525cb7161d08f95d0e47025323dd10214313 Patch
- https://git.kernel.org/stable/c/499839eca34ad62d43025ec0b46b80e77065f6d8 Patch
- https://git.kernel.org/stable/c/4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c Patch
- https://git.kernel.org/stable/c/5024cce888e11e5688f77df81db9e14828495d64 Patch