kernel_samsung_a53x/drivers/gpu/drm/amd
Mukul Joshi 39f9ad877c drm/amdgpu: Fix leak when GPU memory allocation fails
commit 25e9227c6afd200bed6774c866980b8e36d033af upstream.

Free the sync object if the memory allocation fails for any
reason.

Signed-off-by: Mukul Joshi <mukul.joshi@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-19 11:32:39 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: Fix leak when GPU memory allocation fails 2024-11-19 11:32:39 +01:00
amdkfd amdkfd: use calloc instead of kzalloc to avoid integer overflow 2024-11-19 09:22:13 +01:00
display drm/amd/display: Fix nanosec stat overflow 2024-11-19 09:23:14 +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/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 'get_platform_power_management_table()' 2024-11-18 12:13:20 +01:00