Files
linux-stable-mirror/drivers/gpu
Benjamin Cheng 73043d2967 drm/amdgpu/vcn4: Avoid overflow on msg bound check
commit 65bce27ea6 upstream.

As pointed out by SDL, the previous condition may be vulnerable to
overflow.

Fixes: 0a78f2bac1 ("drm/amdgpu/vcn4: Prevent OOB reads when parsing dec msg")
Cc: SDL <sdl@nppct.ru>
Signed-off-by: Benjamin Cheng <benjamin.cheng@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 3c5367d950)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-05-17 17:14:35 +02:00
..