diff options
author | Tomas Bortoli <tomasbortoli@gmail.com> | 2019-07-31 17:54:47 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-02 14:58:01 +0300 |
commit | ead16e53c2f0ed946d82d4037c630e2f60f4ab69 (patch) | |
tree | f2960fc6f74c1ce7bc48baaec8b29c064b4a75bd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 30a8beeb3042f49d0537b7050fd21b490166a3d9 (diff) | |
download | linux-ead16e53c2f0ed946d82d4037c630e2f60f4ab69.tar.xz |
can: peak_usb: pcan_usb_pro: 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+d6a5a1a3657b596ef132@syzkaller.appspotmail.com
Fixes: f14e22435a27 ("net: can: peak_usb: Do not do dma on the stack")
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions