]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/vcn3: Prevent OOB reads when parsing dec msg
authorBenjamin Cheng <benjamin.cheng@amd.com>
Tue, 24 Mar 2026 20:25:56 +0000 (16:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Apr 2026 17:48:41 +0000 (13:48 -0400)
commitb193019860d61e92da395eae2011f2f6716b182f
tree65919b9f19e8694973373c604c65c54d484de9e0
parentde2a02cc28d6d5d37db07d00a9a684c754a5fd74
drm/amdgpu/vcn3: Prevent OOB reads when parsing dec msg

Check bounds against the end of the BO whenever we access the msg.

Signed-off-by: Benjamin Cheng <benjamin.cheng@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c