Xiaolong Huang
c8ed03b9c5
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>
2020-06-20 10:24:13 +02:00
..
c_can
can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open
2019-12-05 15:34:09 +01:00
cc770
can: cc770: Fix use after free in cc770_tx_interrupt()
2018-03-28 18:39:24 +02:00
ifi_canfd
can: ifi: Check core revision upon probe
2018-03-28 18:39:23 +02:00
m_can
can: fix handling of unmodifiable configuration options
2016-05-09 11:07:28 +02:00
mscan
can: mscan: mscan_rx_poll(): fix rx path lockup when returning from polling to irq mode
2020-01-14 20:04:28 +01:00
rcar
can: rcar_can: Fix erroneous registration
2018-12-13 09:20:25 +01:00
sja1000
can: sja1000: force the string buffer NULL-terminated
2019-09-06 10:19:33 +02:00
softing
spi
can: mcp251x: mcp251x_hw_reset(): allow more time after a reset
2019-10-17 13:42:05 -07:00
usb
can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices
2020-06-20 10:24:13 +02:00
at91_can.c
can: at91_can: RX queue could get stuck at high bus load
2016-06-20 09:32:40 +02:00
bfin_can.c
can: remove obsolete assignment for CAN protocol error type
2015-11-23 09:37:38 +01:00
dev.c
can: dev: call netif_carrier_off() in register_candev()
2019-09-06 10:19:32 +02:00
flexcan.c
can: flexcan: disable completely the ECC mechanism
2019-11-12 19:16:10 +01:00
grcan.c
janz-ican3.c
can: janz-ican3: error handling for CAL/CANopen firmware
2016-05-09 11:07:28 +02:00
Kconfig
can: rcar_can: Move Renesas CAN driver to rcar dir
2016-06-17 15:39:48 +02:00
led.c
Makefile
can: rcar_can: Move Renesas CAN driver to rcar dir
2016-06-17 15:39:48 +02:00
pch_can.c
can: fix assignment of error location in CAN error messages
2015-11-23 09:37:34 +01:00
slcan.c
slcan: Fix double-free on slcan_open() error path
2020-06-11 09:22:20 +02:00
sun4i_can.c
can: sun4i: handle overrun in RX FIFO
2017-11-15 15:53:20 +01:00
ti_hecc.c
can: ti_hecc: Fix napi poll return value for repoll
2017-12-14 09:28:09 +01:00
vcan.c
xilinx_can.c
can: xilinx_can: fix RX overflow interrupt not being enabled
2018-07-28 07:49:13 +02:00