Files
linux/drivers/gpu/drm/amd/amdgpu
Alex Deucher cf851f3ff8 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>
2020-08-26 16:40:19 -04:00
..
2019-09-16 09:59:21 -05:00
2019-06-20 11:36:22 -05:00
2020-08-14 16:22:39 -04:00
2020-08-14 16:22:39 -04:00
2020-07-01 01:59:24 -04:00
2019-06-10 23:00:01 +02:00
2020-05-22 13:41:53 -04:00
2020-07-02 12:02:50 -04:00
2020-07-01 01:59:24 -04:00
2020-08-14 16:22:39 -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