[PATCH 0/3] Fix out of bounds writes in amdgpu_dm_debugfs

Harry Wentland harry.wentland at amd.com
Wed Oct 27 14:26:32 UTC 2021


Fixes for out of bounds writes in amdgpu_dm_debugfs as well
as a fix to disallow partial copy_from_user so we don't
end up inadvertently reading corrupted buffers if a caller
fails to initialize the buffer to zero.

Harry Wentland (2):
  drm/amd/display: Don't allow partial copy_from_user
  drm/amd/display: Fix dp_max_bpc out of bounds write

Patrik Jakobsson (1):
  drm/amdgpu: Fix even more out of bound writes from debugfs

 .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 28 +++++++++----------
 1 file changed, 13 insertions(+), 15 deletions(-)

--
2.33.0



More information about the amd-gfx mailing list