summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXiaolong Huang <butterflyhuangxx@gmail.com>2019-12-07 22:40:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-20 10:23:19 +0200
commitb1c64aa943521ce7489611b47eb5ff8ac66b2643 (patch)
tree6a0d46bf641c85911cf1a182eb6a88338d2a3394 /tools/perf/scripts/python
parent3a5e7e46bdada447e60a707fe3d5d853befcfd31 (diff)
can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices
commit da2311a6385c3b499da2ed5d9be59ce331fa93e9 upstream. Uninitialized Kernel memory can leak to USB devices. Fix this by using kzalloc() instead of kmalloc(). Signed-off-by: Xiaolong Huang <butterflyhuangxx@gmail.com> Fixes: 7259124eac7d ("can: kvaser_usb: Split driver into kvaser_usb_core.c and kvaser_usb_leaf.c") Cc: linux-stable <stable@vger.kernel.org> # >= v4.19 Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> [bwh: Backported to 4.9: adjust filename, context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions