1
0
Fork 0
remarkable-linux/drivers/net/can/usb
Anton Vasilyev c8159f9a1a can: ems_usb: Fix memory leak on ems_usb_disconnect()
commit 72c05f32f4 upstream.

ems_usb_probe() allocates memory for dev->tx_msg_buffer, but there
is no its deallocation in ems_usb_disconnect().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Cc: <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-06 16:20:48 +02:00
..
peak_usb can: peak: fix potential bug in packet fragmentation 2018-01-23 19:58:17 +01:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-04-26 22:39:08 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ems_usb.c can: ems_usb: Fix memory leak on ems_usb_disconnect() 2018-08-06 16:20:48 +02:00
esd_usb2.c can: esd_usb2: cancel urb on -EPIPE and -EPROTO 2017-12-14 09:52:47 +01:00
gs_usb.c can: gs_usb: fix return value of the "set_bittiming" callback 2018-01-17 09:45:17 +01:00
kvaser_usb.c can: kvaser_usb: Increase correct stats counter in kvaser_usb_rx_can_msg() 2018-05-16 10:10:28 +02:00
mcba_usb.c can: mcba_usb: cancel urb on -EPROTO 2017-12-14 09:52:47 +01:00
usb_8dev.c can: usb_8dev: cancel urb on -EPIPE and -EPROTO 2017-12-14 09:52:47 +01:00