linux_dsm_epyc7002/drivers/net/wireless
Avraham Stern cc4255eff5 iwlwifi: mvm: avoid use after free for pmsr request
When a FTM request is aborted, the driver sends the abort command to
the fw and waits for a response. When the response arrives, the driver
calls cfg80211_pmsr_complete() for that request.
However, cfg80211 frees the requested data immediately after sending
the abort command, so this may lead to use after free.

Fix it by clearing the request data in the driver when the abort
command arrives and ignoring the fw notification that will come
afterwards.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Fixes: fc36ffda32 ("iwlwifi: mvm: support FTM initiator")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2020-02-03 20:09:11 +02:00
..
admtek adm80211: remove set but not used variables 'mem_addr' and 'io_addr' 2019-10-24 08:48:00 +03:00
ath wcn36xx: fix spelling mistake "to" -> "too" 2020-01-26 16:40:19 +02:00
atmel at76c50x-usb: fix endpoint debug message 2019-12-18 21:06:02 +02:00
broadcom brcmfmac: Remove always false 'idx < 0' statement 2020-01-26 17:43:28 +02:00
cisco airo: Add missing CAP_NET_ADMIN check in AIROOLDIOCTL/SIOCDEVPRIVATE 2020-01-23 11:01:13 +01:00
intel iwlwifi: mvm: avoid use after free for pmsr request 2020-02-03 20:09:11 +02:00
intersil hostap: Adjust indentation in prism2_hostapd_add_sta 2020-01-26 17:36:17 +02:00
marvell libertas: make lbs_ibss_join_existing() return error code on rates overflow 2020-01-27 16:36:33 +02:00
mediatek mt76: Off by one in mt76_calc_rx_airtime() 2019-12-18 20:50:40 +02:00
quantenna qtnfmac: add support for TWT responder and spatial reuse 2020-01-26 17:44:02 +02:00
ralink rt2x00usb: Fix a warning message in 'rt2x00usb_watchdog_tx_dma()' 2019-12-18 20:58:48 +02:00
realtek rtlwifi: btcoex: fix spelling mistake "initilized" -> "initialized" 2020-01-26 17:47:54 +02:00
rsi rsi_91x_usb: fix interface sanity check 2019-12-18 21:06:06 +02:00
st cw1200: use true,false for bool variable 2020-01-26 17:40:43 +02:00
ti wlcore: mesh: Add support for RX Broadcast Key 2020-01-26 17:33:40 +02:00
zydas wireless-drivers-next patches for v5.6 2019-12-20 21:55:00 -08:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mac80211_hwsim.c mac80211_hwsim: use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops 2019-11-08 10:17:33 +01:00
mac80211_hwsim.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Makefile
ray_cs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 416 2019-06-05 17:37:15 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
virt_wifi.c virt_wifi: fix use-after-free in virt_wifi_newlink() 2019-11-22 13:36:25 +01:00
wl3501_cs.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
wl3501.h