diff options
author | Xiaohui Zhang <xiaohuizhang@ruc.edu.cn> | 2022-06-07 23:36:31 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-08 11:40:41 -0400 |
commit | feb54650bae25f2a2adfc493e3e254e7c27a3fba (patch) | |
tree | 222796f50528fe3fcbf35591ff58457e4a0c92ce /drivers/gpu/drm/amd/display/dc | |
parent | c4d7738c9efc81a4f0364da1e673ab1b1cf91735 (diff) | |
download | linux-feb54650bae25f2a2adfc493e3e254e7c27a3fba.tar.bz2 |
drm/radeon: integer overflow in radeon_mode_dumb_create()
Similar to the handling of amdgpu_mode_dumb_create in commit 54ef0b5461c0
("drm/amdgpu: integer overflow in amdgpu_mode_dumb_create()"),
we thought a patch might be needed here as well.
args->size is a u64. arg->pitch and args->height are u32. The
multiplication will overflow instead of using the high 32 bits as
intended.
Signed-off-by: Xiaohui Zhang <xiaohuizhang@ruc.edu.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc')
0 files changed, 0 insertions, 0 deletions