Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
Alex Deucher b5b97cab55 drm/amdgpu: Fix buffer overflow in INFO ioctl
The values for "se_num" and "sh_num" come from the user in the ioctl.
They can be in the 0-255 range but if they're more than
AMDGPU_GFX_MAX_SE (4) or AMDGPU_GFX_MAX_SH_PER_SE (2) then it results in
an out of bounds read.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2020-08-26 15:45:51 -04:00
..
2019-09-16 09:59:21 -05:00
2019-06-20 11:36:22 -05:00
2020-07-01 01:59:24 -04:00
2017-10-20 13:28:44 -04:00
2020-04-09 10:43:33 -04:00
2019-06-10 23:00:01 +02:00
2020-07-01 01:59:22 -04:00
2020-05-22 13:41:53 -04:00
2016-08-31 15:21:09 -04:00
2020-07-02 12:02:50 -04:00
2020-07-01 01:59:24 -04:00
2020-07-01 01:59:24 -04:00
2020-07-01 01:59:24 -04:00
2020-07-01 01:59:24 -04:00
2020-07-02 12:02:50 -04:00