kernel_samsung_a53x/net/mac80211
Felix Fietkau ba76d18749 wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes
commit 4f2bdb3c5e3189297e156b3ff84b140423d64685 upstream.

When moving a station out of a VLAN and deleting the VLAN afterwards, the
fast_rx entry still holds a pointer to the VLAN's netdev, which can cause
use-after-free bugs. Fix this by immediately calling ieee80211_check_fast_rx
after the VLAN change.

Cc: stable@vger.kernel.org
Reported-by: ranygh@riseup.net
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://msgid.link/20240316074336.40442-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 09:22:41 +01:00
..
aead_api.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aead_api.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aes_ccm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aes_cmac.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aes_cmac.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aes_gcm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aes_gmac.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aes_gmac.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
agg-rx.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
agg-tx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
airtime.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cfg.c wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes 2024-11-19 09:22:41 +01:00
chan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs_key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs_key.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs_netdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs_netdev.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs_sta.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
debugfs_sta.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
driver-ops.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
driver-ops.h Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fils_aead.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fils_aead.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
he.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ht.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ibss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ieee80211_i.h Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
iface.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
key.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
led.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mesh.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mesh.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mesh_hwmp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mesh_pathtbl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mesh_plink.c wifi: mac80211: mesh_plink: fix matches_local logic 2024-11-18 12:11:58 +01:00
mesh_ps.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mesh_sync.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
michael.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
michael.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mlme.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
ocb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
offchannel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rate.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc80211_minstrel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc80211_minstrel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc80211_minstrel_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc80211_minstrel_ht.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc80211_minstrel_ht.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc80211_minstrel_ht_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rx.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
s1g.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectmgmt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sta_info.c wifi: mac80211: fix race condition on enabling fast-xmit 2024-11-18 22:25:32 +01:00
sta_info.h Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
status.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
tdls.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tkip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tkip.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.h Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
trace_msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tx.c wifi: mac80211: fix race condition on enabling fast-xmit 2024-11-18 22:25:32 +01:00
util.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vht.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wep.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wme.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wme.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wpa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wpa.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00