Loading
media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE
stable inclusion from stable-v4.19.265 commit a2728bf9b6c65e46468c763e3dab7e04839d4e11 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBFBZR CVE: CVE-2022-49035 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a2728bf9b6c65e46468c763e3dab7e04839d4e11 -------------------------------- [ Upstream commit 93f65ce0 ] I expect that the hardware will have limited this to 16, but just in case it hasn't, check for this corner case. Signed-off-by:Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Cai Xinchen <caixinchen1@huawei.com>