2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd/pm
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
..
inc drm/amdgpu: add inst to amdgpu_dpm_enable_vcn 2024-12-10 10:26:47 -05:00
legacy-dpm drm/amd: Add the capability to mark certain firmware as "required" 2024-12-10 10:26:51 -05:00
powerplay drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table 2024-12-10 10:26:50 -05:00
swsmu drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table() 2025-02-12 19:47:15 -05:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amdgpu/pm: fix UVD handing in amdgpu_dpm_set_powergating_by_smu() 2025-02-12 18:13:32 -05:00
amdgpu_pm.c drm/amd/pm: fix and simplify workload handling 2024-12-02 18:36:15 -05:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00