linux-stable/drivers/staging
Dan Carpenter b535917c51 staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect()
The free_rtllib() function frees the "dev" pointer so there is use
after free on the next line.  Re-arrange things to avoid that.

Fixes: 66898177e7 ("staging: rtl8192e: Fix unload/reload problem")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211117072016.GA5237@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-17 14:08:57 +01:00
..
android
axis-fifo
board
clocking-wizard
emxx_udc
fbtft staging/fbtft: Fix backlight 2021-11-15 10:21:48 +01:00
fieldbus staging: fieldbus: anybus: reframe comment to avoid warning 2021-10-30 11:12:17 +02:00
fwserial
gdm724x
greybus staging: greybus: Add missing rwsem around snd_ctl_remove() calls 2021-11-17 14:08:38 +01:00
gs_fpgaboot
iio
ks7010
media Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
most
mt7621-dma
mt7621-dts staging: mt7621-dts: add missing SPDX license to files 2021-10-25 12:06:26 +02:00
nvec
octeon Staging driver update for 5.16-rc1 2021-11-04 07:56:22 -07:00
octeon-usb
olpc_dcon
pi433
qlge Staging driver update for 5.16-rc1 2021-11-04 07:56:22 -07:00
r8188eu staging: r8188eu: fix a memory leak in rtw_wx_read32() 2021-11-15 10:23:33 +01:00
ralink-gdma
rtl8192e staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect() 2021-11-17 14:08:57 +01:00
rtl8192u staging: rtl8192u: fix control-message timeouts 2021-10-26 18:44:38 +02:00
rtl8712 Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2021-11-10 16:15:54 -08:00
rtl8723bs Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2021-11-10 16:15:54 -08:00
rts5208 SCSI misc on 20211105 2021-11-05 08:42:02 -07:00
sm750fb
unisys SCSI misc on 20211105 2021-11-05 08:42:02 -07:00
vc04_services staging: vchiq_core: get rid of typedef 2021-10-30 11:12:40 +02:00
vme
vt6655 staging: vt6655: Rename dwAL7230InitTable array 2021-10-26 18:45:09 +02:00
vt6656
wfx
wlan-ng
Kconfig staging: Remove Netlogic XLP network driver 2021-11-15 10:24:42 +01:00
Makefile staging: Remove Netlogic XLP network driver 2021-11-15 10:24:42 +01:00