Skip to content

Fix out of bounds writes in amdgpu_dm_debugfs

Harry Wentland amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/amd/display: Don't allow partial copy_from_userdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c+4 -61 reply
2/3drm/amdgpu: Fix even more out of bound writes from debugfsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c+8 -80 replies
3/3drm/amd/display: Fix dp_max_bpc out of bounds writedrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c+1 -10 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchHarry WentlandRodrigo Siqueira
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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