commit | 30a8beeb3042f49d0537b7050fd21b490166a3d9 | [log] [tgz] |
---|---|---|
author | Tomas Bortoli <tomasbortoli@gmail.com> | Wed Jul 31 10:54:47 2019 -0400 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Fri Aug 02 13:57:48 2019 +0200 |
tree | 95d589f04a19646628d41b21a5bb3ef537ed82bb | |
parent | e787f19373b8a5fa24087800ed78314fd17b984a [diff] |
can: peak_usb: pcan_usb_fd: Fix info-leaks to USB devices Uninitialized Kernel memory can leak to USB devices. Fix by using kzalloc() instead of kmalloc() on the affected buffers. Signed-off-by: Tomas Bortoli <tomasbortoli@gmail.com> Reported-by: syzbot+513e4d0985298538bf9b@syzkaller.appspotmail.com Fixes: 0a25e1f4f185 ("can: peak_usb: add support for PEAK new CANFD USB adapters") Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>