linux-uconsole/drivers/gpu/drm/amd/display/modules
Kees Cook c5b518f4b9 drm/amd/display: Avoid HDCP over-read and corruption
[ Upstream commit 06888d571b ]

Instead of reading the desired 5 bytes of the actual target field,
the code was reading 8. This could result in a corrupted value if the
trailing 3 bytes were non-zero, so instead use an appropriately sized
and zero-initialized bounce buffer, and read only 5 bytes before casting
to u64.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-19 09:44:45 +02:00
..
color drm/amdgpu: fix build_coefficients() argument 2020-12-30 11:53:00 +01:00
freesync drm/amd/display: Fix LFC multiplier changing erratically 2020-08-10 17:26:52 -04:00
hdcp drm/amd/display: Avoid HDCP over-read and corruption 2021-07-19 09:44:45 +02:00
inc drm/amd/display: Send H14b-VSIF specified in HDMI 2020-08-26 16:40:18 -04:00
info_packet drm/amd/display: Send H14b-VSIF specified in HDMI 2020-08-26 16:40:18 -04:00
power drm/amd/display: Change ABM config init interface 2020-08-17 14:07:42 -04:00
vmid drm/amd/display: correct rn NUM_VMID 2020-05-21 12:48:43 -04:00