linux-xiaomi-chiron/drivers/net/can
Marc Kleine-Budde 50d34a0d15 can: gs_usb: gs_make_candev(): fix memory leak for devices with extended bit timing configuration
Some CAN-FD capable devices offer extended bit timing information for
the data bit timing. The information must be read with an USB control
message. The memory for this message is allocated but not free()ed (in
the non error case). This patch adds the missing free.

Fixes: 6679f4c5e5 ("can: gs_usb: add extended bt_const feature")
Link: https://lore.kernel.org/all/20220329193450.659726-1-mkl@pengutronix.de
Reported-by: syzbot+4d0ae90a195b269f102d@syzkaller.appspotmail.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2022-03-31 09:55:27 +02:00
..
c_can
cc770
dev
flexcan
ifi_canfd
m_can can: m_can: m_can_tx_handler(): fix use after free of skb 2022-03-31 09:55:27 +02:00
mscan
peak_canfd
rcar
sja1000
softing
spi can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value 2022-03-31 09:55:11 +02:00
usb can: gs_usb: gs_make_candev(): fix memory leak for devices with extended bit timing configuration 2022-03-31 09:55:27 +02:00
at91_can.c
grcan.c
janz-ican3.c
Kconfig
kvaser_pciefd.c
led.c
Makefile
pch_can.c
slcan.c
sun4i_can.c
ti_hecc.c
vcan.c
vxcan.c
xilinx_can.c