summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorTomas Bortoli <tomasbortoli@gmail.com>2019-07-31 18:19:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-05 13:27:50 +0300
commitb54d1e51bba72256f977912b6b4197bd1494c72e (patch)
tree4dabed5914cc11bef4dd5f791eae4d3080c396a5 /fs
parenta580cba06adc7ba60c1b3f34d26f2b681862bfd0 (diff)
downloadlinux-b54d1e51bba72256f977912b6b4197bd1494c72e.tar.xz
media: ttusb-dec: Fix info-leak in ttusb_dec_send_command()
[ Upstream commit a10feaf8c464c3f9cfdd3a8a7ce17e1c0d498da1 ] The function at issue does not always initialize each byte allocated for 'b' and can therefore leak uninitialized memory to a USB device in the call to usb_bulk_msg() Use kzalloc() instead of kmalloc() Signed-off-by: Tomas Bortoli <tomasbortoli@gmail.com> Reported-by: syzbot+0522702e9d67142379f1@syzkaller.appspotmail.com Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions