Skip to content
Commit 57087b5f authored by Xiaolong Huang's avatar Xiaolong Huang Committed by Ben Hutchings
Browse files

can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices

commit da2311a6

 upstream.

Uninitialized Kernel memory can leak to USB devices.

Fix this by using kzalloc() instead of kmalloc().

Signed-off-by: default avatarXiaolong Huang <butterflyhuangxx@gmail.com>
Fixes: 7259124e

 ("can: kvaser_usb: Split driver into kvaser_usb_core.c and kvaser_usb_leaf.c")
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
[bwh: Backported to 3.16: adjust filename, context]
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 61749bee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment