linux-stable/net
Johannes Berg 396dc11319 wifi: mac80211: disable softirqs for queued frame handling
commit 321028bc45 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: 177c6ae972 ("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-25 09:53:41 +02:00
..
6lowpan net: fill in MODULE_DESCRIPTION()s for 6LoWPAN 2024-02-09 14:12:01 -08:00
9p net/9p: fix uninit-value in p9_client_rpc() 2024-06-16 13:51:05 +02:00
802 net: fill in MODULE_DESCRIPTION()s under net/802* 2023-10-28 11:29:28 +01:00
8021q net: gro: fix udp bad offset in socket lookup by adding {inner_}network_offset to napi_gro_cb 2024-05-02 11:02:48 +02:00
appletalk appletalk: Improve handling of broadcast packets 2024-05-08 12:17:19 +01:00
atm inet: introduce dst_rtable() helper 2024-06-12 11:39:55 +02:00
ax25 ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put() 2024-06-21 14:40:03 +02:00
batman-adv batman-adv: Don't accept TT entries for out-of-spec VIDs 2024-07-05 09:38:15 +02:00
bluetooth Bluetooth: L2CAP: Fix deadlock 2024-07-25 09:53:41 +02:00
bpf bpf: check bpf_dummy_struct_ops program params for test runs 2024-07-11 12:50:58 +02:00
bridge net: bridge: mst: fix suspicious rcu usage in br_mst_set_state 2024-06-21 14:40:25 +02:00
caif net: fill in MODULE_DESCRIPTION()s for CAIF 2024-01-05 08:06:35 -08:00
can net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new 2024-07-05 09:38:12 +02:00
ceph libceph: fix race between delayed_work() and ceph_monc_stop() 2024-07-18 13:22:52 +02:00
core net: fix rc7's __skb_datagram_iter() 2024-07-18 13:22:39 +02:00
dcb net: dcb: choose correct policy to parse DCB_ATTR_BCN 2023-08-01 21:07:46 -07:00
dccp Fix race for duplicate reqsk on identical SYN 2024-07-05 09:37:54 +02:00
devlink devlink: use kvzalloc() to allocate devlink instance resources 2024-06-27 13:52:12 +02:00
dns_resolver Networking changes for 6.8. 2024-01-11 10:07:29 -08:00
dsa net: dsa: Leverage core stats allocator 2024-03-07 20:37:13 -08:00
ethernet netkit: Fix pkt_type override upon netkit pass verdict 2024-06-12 11:39:48 +02:00
ethtool net: ethtool: Fix RSS setting 2024-07-18 13:22:43 +02:00
handshake net/handshake: Fix handshake_req_destroy_test1 2024-02-08 18:32:29 -08:00
hsr hsr: Simplify code for announcing HSR nodes timer setup 2024-05-08 18:56:30 -07:00
ieee802154 Merge tag 'ieee802154-for-net-next-2024-03-07' of git://git.kernel.org/pub/scm/linux/kernel/git/wpan/wpan-next 2024-03-08 20:35:33 -08:00
ife net: sched: ife: fix potential use-after-free 2023-12-15 10:50:18 +00:00
ipv4 udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port(). 2024-07-18 13:22:41 +02:00
ipv6 ila: block BH in ila_output() 2024-07-25 09:53:23 +02:00
iucv net/iucv: Avoid explicit cpumask var allocation on stack 2024-07-05 09:37:59 +02:00
kcm net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function 2024-03-11 09:53:22 +00:00
key net: fill in MODULE_DESCRIPTION()s for af_key 2024-02-09 14:12:01 -08:00
l2tp inet: introduce dst_rtable() helper 2024-06-12 11:39:55 +02:00
l3mdev
lapb
llc llc: call sock_orphan() at release time 2024-01-30 13:49:09 +01:00
mac80211 wifi: mac80211: disable softirqs for queued frame handling 2024-07-25 09:53:41 +02:00
mac802154 net: mac802154: Fix racy device stats updates by DEV_STATS_INC() and DEV_STATS_ADD() 2024-07-25 09:53:36 +02:00
mctp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-02-29 14:24:56 -08:00
mpls inet: introduce dst_rtable() helper 2024-06-12 11:39:55 +02:00
mptcp mptcp: pm: update add_addr counters after connect 2024-06-21 14:40:30 +02:00
ncsi net/ncsi: Fix the multi thread manner of NCSI driver 2024-06-21 14:40:03 +02:00
netfilter netfilter: nf_tables: prefer nft_chain_validate 2024-07-18 13:22:41 +02:00
netlabel netlabel: remove impossible return value in netlbl_bitmap_walk 2024-02-28 19:37:34 -08:00
netlink net/netlink: Add getsockopt support for NETLINK_LISTEN_ALL_NSID 2024-03-11 15:48:34 -07:00
netrom netrom: Fix a memory leak in nr_heartbeat_expiry() 2024-06-27 13:52:21 +02:00
nfc nfc: nci: Fix handling of zero-length payload packets in nci_rx_work() 2024-06-12 11:39:43 +02:00
nsh nsh: Restore skb->{protocol,data,mac_header} for outer header in nsh_gso_segment(). 2024-04-26 12:20:01 +02:00
openvswitch openvswitch: get related ct labels from its master if it is not confirmed 2024-07-05 09:37:51 +02:00
packet af_packet: avoid a false positive warning in packet_setsockopt() 2024-06-27 13:52:13 +02:00
phonet phonet: fix rtm_phonet_notify() skb allocation 2024-05-06 18:30:00 -07:00
psample genetlink: Use internal flags for multicast groups 2023-12-29 08:43:59 +00:00
qrtr net: qrtr: ns: Fix module refcnt 2024-05-30 09:45:02 +02:00
rds net/rds: fix possible cp null dereference 2024-03-29 12:04:09 -07:00
rfkill Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-12-21 22:17:23 +01:00
rose net/rose: fix races in rose_kill_by_device() 2023-12-15 11:59:53 +00:00
rxrpc rxrpc: Only transmit one ACK per jumbo packet received 2024-05-08 08:05:03 -07:00
sched net/sched: Fix UAF when resolving a clash 2024-07-18 13:22:41 +02:00
sctp sctp: prefer struct_size over open coded arithmetic 2024-07-11 12:51:01 +02:00
smc net/smc: avoid overwriting when adjusting sock bufsizes 2024-06-21 14:40:05 +02:00
strparser
sunrpc net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket 2024-07-18 13:22:41 +02:00
switchdev net: bridge: switchdev: Skip MDB replays of deferred events on offload 2024-02-16 09:36:37 +00:00
tipc tipc: force a dst refcount before doing decryption 2024-06-27 13:52:22 +02:00
tls tls: fix missing memory barrier in tls_init 2024-06-12 11:39:43 +02:00
unix af_unix: Fix wrong ioctl(SIOCATMARK) when consumed OOB skb is at the head. 2024-07-05 09:37:56 +02:00
vmw_vsock vsock/virtio: fix packet delivery to tap device 2024-04-02 18:00:24 -07:00
wireless wifi: cfg80211: wext: set ssids=NULL for passive scans 2024-07-25 09:53:41 +02:00
x25 net/x25: fix incorrect parameter validation in the x25_getsockopt() function 2024-03-11 09:53:22 +00:00
xdp Revert "xsk: Support redirect to any socket bound to the same umem" 2024-06-16 13:51:10 +02:00
xfrm net: fix __dst_negative_advice() race 2024-06-12 11:39:55 +02:00
compat.c file: stop exposing receive_fd_user() 2023-12-12 14:24:14 +01:00
devres.c
Kconfig net: bql: allow the config to be disabled 2024-02-18 10:19:21 +00:00
Kconfig.debug
Makefile af_unix: Remove CONFIG_UNIX_SCM. 2024-01-31 16:41:16 -08:00
socket.c net: remove {revc,send}msg_copy_msghdr() from exports 2024-03-14 16:48:53 -07:00
sysctl_net.c sysctl: Add size to register_net_sysctl function 2023-08-15 15:26:17 -07:00