diff options
author | Roman Li <roman.li@amd.com> | 2024-01-30 18:07:24 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-02-14 17:13:14 -0500 |
commit | a8edc9cc0b14e3769bbc9b82d00e5e5fc6b5ff0a (patch) | |
tree | a8ab80ca133e9a97dc884d2d3246175e8669ff72 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | bb46122db730f42f3fc1d9d511b3d6ebe8375cdd (diff) |
drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr
[Why]
There is a potential memory access violation while
iterating through array of dcn35 clks.
[How]
Limit iteration per array size.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions