drm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kfd_topology.c
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4525525cb7161d08f95d0e47025323dd10214313, Kernel 499839eca34ad62d43025ec0b46b80e77065f6d8, Kernel 4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.0, >=0f28cca87e9afc22280c44d378d2a6e249933977 <4525525cb7161d08f95d0e47025323dd10214313, >=0f28cca87e9afc22280c44d378d2a6e249933977 <499839eca34ad62d43025ec0b46b80e77065f6d8, >=0f28cca87e9afc22280c44d378d2a6e249933977 <4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c, >=0f28cca87e9afc22280c44d378d2a6e249933977 <5024cce888e11e5688f77df81db9e14828495d64 | 4525525cb7161d08f95d0e47025323dd10214313, 499839eca34ad62d43025ec0b46b80e77065f6d8, 4ac4e023ed7ab1c7c67d2d12b7b6198fcd099e5c, 5024cce888e11e5688f77df81db9e14828495d64 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket