]> 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>
Wed, 20 Oct 2021 19:13:50 +0000 (15:13 -0400)
commita4d1f021c3c235da38a530947b70339ecdd94e73
tree0f9531afedfe899b74933724d486314b10988eea
parent9a90a4ad3df1ecb40c41849efe744f333f366654
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c