]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix out of bounds write
authorThelford Williams <tdwilliamsiv@gmail.com>
Wed, 13 Oct 2021 20:04:13 +0000 (16:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Oct 2021 02:20:03 +0000 (22:20 -0400)
commitb394f77b969f5d988182c612cfc6584645f0ed5c
tree0d43f5aeb41319c5be006fdcbbd8746c58202a12
parent0c0cdccf2771f85bc45102686c0b8855d1c0bceb
drm/amdgpu: fix out of bounds write

Size can be any value and is user controlled resulting in overwriting the
40 byte array wr_buf with an arbitrary length of data from buf.

Signed-off-by: Thelford Williams <tdwilliamsiv@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c