linux-stable/drivers/staging/rtl8192e
YueHaibing cf7d89e809 staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor()
[ Upstream commit d30f4436f3 ]

The skb is delivered to netif_rx() in rtllib_monitor_rx(), which may free it,
after calling this, dereferencing skb may trigger use-after-free.
Found by Smatch.

Fixes: 94a799425e ("From: wlanfae <wlanfae@realtek.com> [PATCH 1/8] rtl8192e: Import new version of driver from realtek")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20221123081253.22296-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-07 12:07:26 +01:00
..
rtl8192e staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect() 2021-12-08 08:45:02 +01:00
Kconfig
Makefile
TODO
dot11d.c
dot11d.h
license
rtl819x_BA.h
rtl819x_BAProc.c
rtl819x_HT.h
rtl819x_HTProc.c
rtl819x_Qos.h
rtl819x_TS.h
rtl819x_TSProc.c
rtllib.h staging: rtl8192e: Change state information from u16 to u8 2021-04-07 12:05:41 +02:00
rtllib_crypt_ccmp.c
rtllib_crypt_tkip.c
rtllib_crypt_wep.c
rtllib_debug.h
rtllib_module.c
rtllib_rx.c staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor() 2023-01-07 12:07:26 +01:00
rtllib_softmac.c drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop() 2022-06-14 16:52:39 +02:00
rtllib_softmac_wx.c
rtllib_tx.c
rtllib_wx.c