WSL2-Linux-Kernel/drivers/net
Johan Hovold 3a51e6b4da wifi: ath11k: fix htt pktlog locking
commit 3f77c7d605b29df277d77e9ee75d96e7ad145d2d upstream.

The ath11k active pdevs are protected by RCU but the htt pktlog handling
code calling ath11k_mac_get_ar_by_pdev_id() was not marked as a
read-side critical section.

Mark the code in question as an RCU read-side critical section to avoid
any potential use-after-free issues.

Compile tested only.

Fixes: d5c65159f2 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Cc: stable@vger.kernel.org      # 5.6
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20231019112521.2071-1-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 16:56:30 +00:00
..
appletalk
arcnet net: arcnet: Do not call kfree_skb() under local_irq_disable() 2023-09-19 12:22:34 +02:00
bonding bonding: stop the device in bond_setup_by_slave() 2023-11-28 16:56:23 +00:00
caif
can can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds 2023-11-20 11:08:15 +01:00
dsa net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register() 2023-10-25 11:58:57 +02:00
ethernet net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors 2023-11-28 16:56:25 +00:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show() 2023-11-08 17:26:38 +01:00
ipa
ipvlan ipvlan: add ipvlan_route_v6_outbound() helper 2023-11-28 16:56:22 +00:00
mctp
mdio net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe() 2023-05-24 17:36:41 +01:00
netdevsim netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write() 2023-07-23 13:47:45 +02:00
pcs net: pcs: xpcs: remove double-read of link state when using AN 2023-05-11 23:00:26 +09:00
phy net: phy: mscc: macsec: reject PN update requests 2023-10-19 23:05:34 +02:00
plip
ppp ppp: limit MRU to 64K 2023-11-28 16:56:23 +00:00
slip
team team: fix null-ptr-deref when team device type is changed 2023-10-06 13:18:08 +02:00
usb r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en() 2023-11-08 17:26:48 +01:00
vmxnet3
vxlan vxlan: generalize vxlan_parse_gpe_hdr and remove unused args 2023-09-19 12:22:27 +02:00
wan drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close() 2023-10-10 21:59:06 +02:00
wireguard wireguard: allowedips: expand maximum node depth 2023-08-16 18:21:57 +02:00
wireless wifi: ath11k: fix htt pktlog locking 2023-11-28 16:56:30 +00:00
wwan
xen-netback xen-netback: use default TX queue size for vifs 2023-10-19 23:05:34 +02:00
Kconfig
LICENSE.SRC
Makefile vxlan: move to its own directory 2023-08-03 10:22:34 +02:00
Space.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c gtp: fix fragmentation needed check with gso 2023-11-08 17:26:39 +01:00
ifb.c
loopback.c
macsec.c net: add DEV_STATS_READ() helper 2023-11-20 11:08:16 +01:00
macvlan.c macvlan: Don't propagate promisc change to lower dev in passthru 2023-11-28 16:56:25 +00:00
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c net: tap_open(): set sk_uid from current_fsuid() 2023-08-11 15:13:57 +02:00
thunderbolt.c net: thunderbolt: Fix TCPv6 GSO checksum calculation 2023-10-06 13:18:23 +02:00
tun.c tun: prevent negative ifindex 2023-10-25 11:58:57 +02:00
veth.c veth: Fixing transmit return status for dropped packets 2023-09-19 12:22:58 +02:00
virtio_net.c virtio-net: set queues after driver_ok 2023-08-26 14:23:38 +02:00
vrf.c
vsockmon.c
xen-netfront.c