Files
twx-linux/drivers
Johan Hovold a7be2debb7 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:20:45 +01:00
..
2019-10-05 13:09:45 +02:00
2019-10-07 18:57:08 +02:00
2019-11-12 19:20:45 +01:00
2019-11-12 19:20:30 +01:00
2019-09-16 08:22:25 +02:00
2019-10-11 18:21:13 +02:00