android_kernel_motorola_sm6225/net/mac80211
Felix Fietkau 7e68d7c640 wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta
[ Upstream commit 12b220a6171faf10638ab683a975cadcf1a352d6 ]

Avoid potential data corruption issues caused by uninitialized driver
private data structures.

Reported-by: Brian Coverstone <brian@mainsequence.net>
Fixes: 6a9d1b91f3 ("mac80211: add pre-RCU-sync sta removal driver operation")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20230324120924.38412-3-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-20 12:04:38 +02:00
..
aead_api.c
aead_api.h
aes_ccm.h
aes_cmac.c
aes_cmac.h
aes_gcm.h
aes_gmac.c
aes_gmac.h
agg-rx.c mac80211: add support for HE 2018-06-18 22:40:32 +02:00
agg-tx.c mac80211: send ADDBA requests using the tid/queue of the aggregation session 2021-12-22 09:19:00 +01:00
cfg.c wifi: mac80211: allow bw change during channel switch in mesh 2022-10-26 13:19:24 +02:00
chan.c wifi: mac80211: fix use-after-free in chanctx code 2022-06-14 16:59:26 +02:00
debug.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
debugfs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
debugfs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
debugfs_key.c
debugfs_key.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
debugfs_netdev.c mac80211: fix txq null pointer dereference 2019-10-29 09:19:33 +01:00
debugfs_netdev.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
debugfs_sta.c mac80211: drop data frames without key on encrypted links 2021-08-26 08:36:42 -04:00
debugfs_sta.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
driver-ops.c mac80211: fix station rate table updates on assoc 2021-02-10 09:21:07 +01:00
driver-ops.h mac80211: do not call driver wake_tx_queue op during reconfig 2019-04-27 09:36:38 +02:00
ethtool.c mac80211: use BIT_ULL for NL80211_STA_INFO_* attribute types 2018-06-29 09:53:09 +02:00
fils_aead.c
fils_aead.h
he.c mac80211: add support for HE 2018-06-18 22:40:32 +02:00
ht.c ieee80211: bump IEEE80211_MAX_AMPDU_BUF to support HE 2018-06-18 22:39:39 +02:00
ibss.c wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected 2022-09-15 12:17:04 +02:00
ieee80211_i.h mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh 2023-02-25 11:51:51 +01:00
iface.c mac80211: add fragment cache to sta_info 2021-06-03 08:38:03 +02:00
Kconfig
key.c mac80211: drop data frames without key on encrypted links 2021-08-26 08:36:42 -04:00
key.h mac80211: prevent mixed key and fragment cache attacks 2021-06-03 08:38:03 +02:00
led.c leds: triggers: let struct led_trigger::activate() return an error code 2018-07-05 23:21:10 +02:00
led.h
main.c mac80211: bail out if cipher schemes are invalid 2021-05-22 10:59:36 +02:00
Makefile mac80211: add support for HE 2018-06-18 22:40:32 +02:00
mesh.c mac80211: free peer keys before vif down in mesh 2019-07-14 08:11:06 +02:00
mesh.h mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh 2023-02-25 11:51:51 +01:00
mesh_hwmp.c mac80211: fix potential overflow when multiplying to u32 integers 2021-03-04 09:39:36 +01:00
mesh_pathtbl.c mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh 2023-02-25 11:51:51 +01:00
mesh_plink.c mac80211: mesh: fix premature update of rc stats 2018-05-18 10:02:28 +02:00
mesh_ps.c
mesh_sync.c
michael.c mac80211: add get TID helper 2018-02-22 21:13:03 +01:00
michael.h
mlme.c mac80211: initialize variable have_higher_than_11mbit 2022-01-11 13:58:49 +01:00
ocb.c mac80211: Convert timers to use timer_setup() 2017-11-20 16:55:11 +01:00
offchannel.c mac80211: support scan features for improved scan privacy 2018-06-15 13:34:40 +02:00
pm.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rate.c mac80211: fix station rate table updates on assoc 2021-02-10 09:21:07 +01:00
rate.h
rc80211_minstrel.c mac80211: minstrel: fix tx status processing corner case 2020-11-24 13:27:26 +01:00
rc80211_minstrel.h mac80211: minstrel: remove deferred sampling code 2020-11-24 13:27:25 +01:00
rc80211_minstrel_debugfs.c net: Use octal not symbolic permissions 2018-03-26 12:07:48 -04:00
rc80211_minstrel_ht.c mac80211: minstrel_ht: fix per-group max throughput rate initialization 2020-01-27 14:51:06 +01:00
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c net: Use octal not symbolic permissions 2018-03-26 12:07:48 -04:00
rx.c mac80211: fix rx reordering with non explicit / psmp ack policy 2022-05-25 09:10:40 +02:00
scan.c wifi: mac80211: Fix UAF in ieee80211_scan_rx() 2022-09-28 11:02:54 +02:00
spectmgmt.c mac80211: Do not disconnect on invalid operating class 2018-02-19 14:53:14 +01:00
sta_info.c wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta 2023-04-20 12:04:38 +02:00
sta_info.h mac80211: drop data frames without key on encrypted links 2021-08-26 08:36:42 -04:00
status.c mac80211: add ieee80211_is_any_nullfunc() 2020-05-10 10:30:12 +02:00
tdls.c mac80211: add option for setting control flags 2020-04-02 15:28:20 +02:00
tkip.c mac80211: Fix TKIP replay protection immediately after key setup 2020-02-05 14:43:46 +00:00
tkip.h
trace.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trace.h mac80211: add support for HE 2018-06-18 22:40:32 +02:00
trace_msg.h mac80211: Increase MAX_MSG_LEN 2019-05-16 19:41:20 +02:00
tx.c mac80211: limit injected vht mcs/nss in ieee80211_parse_tx_radiotap 2021-10-06 15:31:22 +02:00
util.c mac80211: validate extended element ID is present 2021-12-22 09:19:03 +01:00
vht.c mac80211: don't set set TDLS STA bandwidth wider than possible 2020-12-30 11:26:03 +01:00
wep.c
wep.h
wme.c mac80211: mark expected switch fall-throughs 2017-12-11 12:16:04 +01:00
wme.h
wpa.c mac80211: fix use-after-free in CCMP/GCMP RX 2021-10-06 15:31:21 +02:00
wpa.h