linux/drivers/net/wireless/rsi
Johan Hovold e93cd35101 rsi: fix use-after-free on failed probe and unbind
Make sure to stop both URBs before returning after failed probe as well
as on disconnect to avoid use-after-free in the completion handler.

Reported-by: syzbot+b563b7f8dbe8223a51e8@syzkaller.appspotmail.com
Fixes: a4302bff28 ("rsi: add bluetooth rx endpoint")
Fixes: dad0d04fa7 ("rsi: Add RS9113 wireless driver")
Cc: stable <stable@vger.kernel.org>     # 3.15
Cc: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Cc: Prameela Rani Garnepudi <prameela.j04cs@gmail.com>
Cc: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Cc: Fariya Fatima <fariyaf@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-12-18 20:57:03 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
rsi_91x_coex.c
rsi_91x_core.c
rsi_91x_debugfs.c rsi: fix spelling mistakes 2019-02-19 17:08:47 +02:00
rsi_91x_hal.c rsi: add firmware loading for 9116 device 2019-04-25 19:44:25 +03:00
rsi_91x_mac80211.c mac80211: simplify TX aggregation start 2019-10-04 13:58:13 +02:00
rsi_91x_main.c rsi: remove set but not used variables 'info, vif' 2019-02-19 17:09:25 +02:00
rsi_91x_mgmt.c rsi: release skb if rsi_prepare_beacon fails 2019-10-01 12:18:48 +03:00
rsi_91x_ps.c
rsi_91x_sdio.c rsi: fix for sdio reset card issue 2019-08-06 15:36:26 +03:00
rsi_91x_sdio_ops.c rsi: fix spelling mistake "Initialzing" -> "Initializing" 2018-11-06 18:52:10 +02:00
rsi_91x_usb.c rsi: fix use-after-free on failed probe and unbind 2019-12-18 20:57:03 +02:00
rsi_91x_usb_ops.c
rsi_boot_params.h rsi: new bootup parameters for 9116 2019-04-25 19:44:27 +03:00
rsi_coex.h
rsi_common.h
rsi_debugfs.h
rsi_hal.h rsi: reset device changes for 9116 2019-04-25 19:44:29 +03:00
rsi_main.h rsi: send new tx command frame wlan9116 features 2019-04-25 19:44:28 +03:00
rsi_mgmt.h rsi: send new tx command frame wlan9116 features 2019-04-25 19:44:28 +03:00
rsi_ps.h
rsi_sdio.h rsi: add firmware loading for 9116 device 2019-04-25 19:44:25 +03:00
rsi_usb.h rsi: add new device model for 9116 2019-04-25 19:44:23 +03:00