kernel_samsung_a53x/drivers/gpu/drm/amd
Alex Deucher f440f3ca1f drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()
commit 4d75b9468021c73108b4439794d69e892b1d24e3 upstream.

Avoid a possible buffer overflow if size is larger than 4K.

Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f5d873f5825b40d886d03bd2aede91d4cf002434)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-30 02:33:24 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read() 2024-11-30 02:33:24 +01:00
amdkfd drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device 2024-11-23 23:20:57 +01:00
display Revert "drm/amd/display: Round calculated vtotal" 2024-11-24 00:23:17 +01:00
include Revert "drm/amdgpu: Replace one-element array with flexible-array member" 2024-11-24 00:23:26 +01:00
pm Revert "drm/amd/pm: ensure the fw_info is not null before using it" 2024-11-24 00:23:06 +01:00