kernel_samsung_a53x/drivers/gpu/drm/amd
Dave Airlie ddb3855894 amdkfd: use calloc instead of kzalloc to avoid integer overflow
commit 3b0daecfeac0103aba8b293df07a0cbaf8b43f29 upstream.

This uses calloc instead of doing the multiplication which might
overflow.

Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 09:22:13 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: Fix missing break in ATOM_ARG_IMM Case of atom_get_src_int() 2024-11-19 08:44:55 +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 potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()' 2024-11-19 08:44:51 +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