mirror-linux/drivers/gpu/drm/amd
Jiang Liu 1abb264869 drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table()
It malicious user provides a small pptable through sysfs and then
a bigger pptable, it may cause buffer overflow attack in function
smu_sys_set_pp_table().

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2025-02-12 19:47:15 -05:00
..
acp
amdgpu drm/amdgpu: bail out when failed to load fw in psp_init_cap_microcode() 2025-02-12 19:47:15 -05:00
amdkfd drm/amdkfd: Ensure consistent barrier state saved in gfx12 trap handler 2025-02-12 19:47:15 -05:00
amdxcp
display Revert "drm/amd/display: Use HW lock mgr for PSR1" 2025-02-04 17:47:34 -05:00
include drm/amd/display: fix SUBVP DC_DEBUG_MASK documentation 2025-01-24 09:53:59 -05:00
pm drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table() 2025-02-12 19:47:15 -05:00