+1
−1
Loading
stable inclusion from stable-v4.19.324 commit e7ea60184e1e88a3c9e437b3265cbb6439aa7e26 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB5AVT CVE: CVE-2024-50302 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e7ea60184e1e88a3c9e437b3265cbb6439aa7e26 -------------------------------- [ Upstream commit 177f25d1292c7e16e1199b39c85480f7f8815552 ] Since the report buffer is used by all kinds of drivers in various ways, let's zero-initialize it during allocation to make sure that it can't be ever used to leak kernel memory via specially-crafted report. Fixes: 27ce4050 ("HID: fix data access in implement()") Reported-by:Benoît Sevens <bsevens@google.com> Acked-by:
Benjamin Tissoires <bentiss@kernel.org> Signed-off-by:
Jiri Kosina <jkosina@suse.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Tirui Yin <yintirui@huawei.com> Reviewed-by:
yongqiang Liu <liuyongqiang13@huawei.com>