WSL2-Linux-Kernel/net
Johannes Berg b0f9232616 wifi: mac80211: disable softirqs for queued frame handling
commit 321028bc45f01edb9e57b0ae5c11c5c3600d00ca upstream.

As noticed by syzbot, calling ieee80211_handle_queued_frames()
(and actually handling frames there) requires softirqs to be
disabled, since we call into the RX code. Fix that in the case
of cleaning up frames left over during shutdown.

Fixes: 177c6ae9725d ("wifi: mac80211: handle tasklet frames before stopping")
Reported-by: syzbot+1d516edf1e74469ba5d3@syzkaller.appspotmail.com
Link: https://patch.msgid.link/20240626091559.cd6f08105a6e.I74778610a5ff2cf8680964698131099d2960352a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-27 10:46:15 +02:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
batman-adv batman-adv: Don't accept TT entries for out-of-spec VIDs 2024-07-05 09:14:49 +02:00
bluetooth Bluetooth: hci_core: cancel all works upon hci_unregister_dev() 2024-07-27 10:46:13 +02:00
bpf
bpfilter
bridge
caif
can net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new 2024-07-05 09:14:48 +02:00
ceph libceph: fix race between delayed_work() and ceph_monc_stop() 2024-07-18 13:07:42 +02:00
core net: fix rc7's __skb_datagram_iter() 2024-07-18 13:07:37 +02:00
dcb
dccp
dns_resolver
dsa
ethernet
ethtool ethtool: netlink: do not return SQI value if link is down 2024-07-18 13:07:38 +02:00
hsr
ieee802154
ife
ipv4 tcp: avoid too many retransmit packets 2024-07-18 13:07:40 +02:00
ipv6 ila: block BH in ila_output() 2024-07-27 10:46:09 +02:00
iucv
kcm
key
l2tp
l3mdev
lapb
llc
mac80211 wifi: mac80211: disable softirqs for queued frame handling 2024-07-27 10:46:15 +02:00
mac802154 net: mac802154: Fix racy device stats updates by DEV_STATS_INC() and DEV_STATS_ADD() 2024-07-27 10:46:13 +02:00
mctp
mpls
mptcp
ncsi
netfilter netfilter: nf_tables: unconditionally flush pending work before notifier 2024-07-18 13:07:31 +02:00
netlabel
netlink
netrom
nfc
nsh
openvswitch
packet
phonet
psample
qrtr
rds
rfkill
rose
rxrpc
sched net/sched: Fix UAF when resolving a clash 2024-07-18 13:07:38 +02:00
sctp sctp: prefer struct_size over open coded arithmetic 2024-07-18 13:07:27 +02:00
smc
strparser
sunrpc
switchdev
tipc
tls
unix
vmw_vsock
wireless wifi: cfg80211: wext: add extra SIOCSIWSCAN data check 2024-07-27 10:46:10 +02:00
x25
xdp
xfrm
Kconfig
Makefile
compat.c
devres.c
socket.c
sysctl_net.c