summaryrefslogtreecommitdiff
path: root/drivers/misc/cardreader
diff options
context:
space:
mode:
authorAnant Thazhemadam <anant.thazhemadam@gmail.com>2020-11-23 04:15:34 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 19:36:26 +0100
commit31dcb6c30a26d32650ce134820f27de3c675a45a (patch)
treee3b9b8b22423a595754c38617184fc6493999e5a /drivers/misc/cardreader
parent997754f114efeb290310ea8e39c8b04c2ce93961 (diff)
downloadlwn-31dcb6c30a26d32650ce134820f27de3c675a45a.tar.gz
lwn-31dcb6c30a26d32650ce134820f27de3c675a45a.zip
misc: vmw_vmci: fix kernel info-leak by initializing dbells in vmci_ctx_get_chkpt_doorbells()
A kernel-infoleak was reported by syzbot, which was caused because dbells was left uninitialized. Using kzalloc() instead of kmalloc() fixes this issue. Reported-by: syzbot+a79e17c39564bedf0930@syzkaller.appspotmail.com Tested-by: syzbot+a79e17c39564bedf0930@syzkaller.appspotmail.com Signed-off-by: Anant Thazhemadam <anant.thazhemadam@gmail.com> Link: https://lore.kernel.org/r/20201122224534.333471-1-anant.thazhemadam@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/cardreader')
0 files changed, 0 insertions, 0 deletions