1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/modules
Kees Cook 06888d571b drm/amd/display: Avoid HDCP over-read and corruption
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>
2021-06-01 22:55:39 -04:00
..
color drm/amd/display: Rename fs_params to hdr_tm_params 2021-04-09 16:48:21 -04:00
freesync drm/amd/display: disable desktop VRR when using older flip model 2021-05-27 12:24:34 -04:00
hdcp drm/amd/display: Avoid HDCP over-read and corruption 2021-06-01 22:55:39 -04:00
inc amd: display: modules: Remove repeated struct declaration 2021-04-09 16:50:38 -04:00
info_packet drm/amd/display/modules/info_packet/info_packet: Correct kernel-doc formatting 2021-01-14 13:20:20 -05:00
power drm/amd/display: Added support for individual control for multiple back-light instances. 2021-05-27 12:24:03 -04:00
vmid drm/amd/display: correct rn NUM_VMID 2020-05-21 12:48:43 -04:00