kernel_samsung_a53x/drivers/usb/serial
Dan Carpenter e6d4dcab60 USB: serial: io_edgeport: fix use after free in debug printk
commit 37bb5628379295c1254c113a407cab03a0f4d0b4 upstream.

The "dev_dbg(&urb->dev->dev, ..." which happens after usb_free_urb(urb)
is a use after free of the "urb" pointer.  Store the "dev" pointer at the
start of the function to avoid this issue.

Fixes: 984f68683298 ("USB: serial: io_edgeport.c: remove dbg() usage")
Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-30 02:33:26 +01:00
..
aircable.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ark3116.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
belkin_sa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
belkin_sa.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ch341.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
console.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cp210x.c USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M 2024-11-19 09:22:17 +01:00
cyberjack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cypress_m8.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cypress_m8.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
digi_acceleport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
empeg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ezusb_convert.pl Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
f81232.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
f81534.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ftdi_sio.c USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB 2024-11-19 09:22:17 +01:00
ftdi_sio.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ftdi_sio_ids.h USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB 2024-11-19 09:22:17 +01:00
garmin_gps.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
generic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_16654.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_edgeport.c USB: serial: io_edgeport: fix use after free in debug printk 2024-11-30 02:33:26 +01:00
io_edgeport.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_ionsp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_ti.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_ti.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_usbvend.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ipaq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ipw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ir-usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iuu_phoenix.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iuu_phoenix.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_pda.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_usa26msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_usa28msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_usa49msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_usa67msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyspan_usa90msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kl5kusb105.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kl5kusb105.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kobil_sct.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kobil_sct.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile-keyspan_pda_fw Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mct_u232.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mct_u232.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
metro-usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mos7720.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mos7840.c USB: serial: mos7840: fix crash on resume 2024-11-19 14:19:44 +01:00
mxuport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
navman.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omninet.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opticon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
option.c Revert "USB: serial: option: add support for Quectel EG916Q-GL" 2024-11-24 00:22:51 +01:00
oti6858.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
oti6858.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pl2303.c Revert "USB: serial: pl2303: add device id for Macrosilicon MS3020" 2024-11-24 00:23:31 +01:00
pl2303.h Revert "USB: serial: pl2303: add device id for Macrosilicon MS3020" 2024-11-24 00:23:31 +01:00
qcaux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcserial.c USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e 2024-11-18 12:13:26 +01:00
quatech2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
safe_serial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sierra.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spcp8x5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ssu100.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symbolserial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti_usb_3410_5052.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
upd78f0730.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb-serial-simple.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb-serial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb-wwan.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb_debug.c USB: serial: debug: do not echo input by default 2024-11-23 23:20:28 +01:00
usb_wwan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
visor.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
visor.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
whiteheat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
whiteheat.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wishbone-serial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xsens_mt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00