Files
linux/drivers
Johan Hovold da281558d2 can: peak_usb: fix slab info leak
commit f7a1337f0d upstream.

Fix a small slab info leak due to a failure to clear the command buffer
at allocation.

The first 16 bytes of the command buffer are always sent to the device
in pcan_usb_send_cmd() even though only the first two may have been
initialised in case no argument payload is provided (e.g. when waiting
for a response).

Fixes: bb4785551f ("can: usb: PEAK-System Technik USB adapters driver core")
Cc: stable <stable@vger.kernel.org>     # 3.4
Reported-by: syzbot+863724e7128e14b26732@syzkaller.appspotmail.com
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-12 19:15:48 +01:00
..
2019-10-05 12:30:36 +02:00
2018-12-21 14:11:37 +01:00
2019-05-14 19:19:34 +02:00
2019-10-07 18:53:16 +02:00
2019-11-12 19:15:48 +01:00
2019-11-12 19:15:40 +01:00
2019-10-29 09:15:26 +01:00
2018-12-21 14:11:36 +01:00
2018-11-13 11:17:02 -08:00
2018-11-27 16:09:41 +01:00
2018-10-03 17:01:42 -07:00
2019-09-16 08:19:34 +02:00
2019-05-31 06:48:15 -07:00
2019-10-17 13:42:10 -07:00