kernel_samsung_a53x/drivers/gpu/drm/amd
Christian König 985f8688d5 drm/amdgpu: fix error handling in amdgpu_bo_list_get()
commit 12f76050d8d4d10dab96333656b821bd4620d103 upstream.

We should not leak the pointer where we couldn't grab the reference
on to the caller because it can be that the error handling still
tries to put the reference then.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 11:43:32 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: fix error handling in amdgpu_bo_list_get() 2024-11-18 11:43:32 +01:00
amdkfd Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
display drm/amd/display: Avoid NULL dereference of timing generator 2024-11-18 11:43:15 +01:00
include drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7 2024-11-18 11:43:13 +01:00
pm drm/amd/pm: Handle non-terminated overdrive commands. 2024-11-18 11:43:31 +01:00