+2
−0
Loading
stable inclusion from stable-v4.19.14 commit 4023bad0a528d383800a2262c899f52dcd613c7c category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBP38D CVE: CVE-2022-49508 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4023bad0a528d383800a2262c899f52dcd613c7c ---------------------------------------------------------------------- [ Upstream commit b7429ea5 ] When input_mt_init_slots() fails, input should be freed to prevent memleak. When input_register_device() fails, we should call input_mt_destroy_slots() to free memory allocated by input_mt_init_slots(). Signed-off-by:Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by:
Jiri Kosina <jkosina@suse.cz> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Chen Ridong <chenridong@huawei.com>