summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorTomas Bortoli <tomasbortoli@gmail.com>2019-07-31 10:54:47 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-25 10:51:37 +0200
commit127ab64c38e21c55adf8781ca92f7dc9d1a9903e (patch)
tree4cbcc7b66992f42bef60cbbc6440b4c171aa7909 /drivers/hwmon
parent0cad79bfb5aa596b9449fe66b0edf69a8344326c (diff)
can: peak_usb: pcan_usb_fd: Fix info-leaks to USB devices
commit 30a8beeb3042f49d0537b7050fd21b490166a3d9 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions