linux/drivers/net
Jakub Kicinski 4b31bcb025 eth: fbnic: unlink NAPIs from queues on error to open
CI hit a UaF in fbnic in the AF_XDP portion of the queues.py test.
The UaF is in the __sk_mark_napi_id_once() call in xsk_bind(),
NAPI has been freed. Looks like the device failed to open earlier,
and we lack clearing the NAPI pointer from the queue.

Fixes: 557d02238e ("eth: fbnic: centralize the queue count and NAPI<>queue setting")
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250728163129.117360-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-04 17:14:35 -07:00
..
arcnet
bonding net: s/__dev_set_mtu/__netif_set_mtu/ 2025-07-18 17:27:47 -07:00
caif
can Networking changes for 6.17. 2025-07-30 08:58:55 -07:00
dsa Networking changes for 6.17. 2025-07-30 08:58:55 -07:00
ethernet eth: fbnic: unlink NAPIs from queues on error to open 2025-08-04 17:14:35 -07:00
fddi
fjes
hamradio
hippi
hyperv Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-17 11:00:33 -07:00
ieee802154
ipa net: ipa: add IPA v5.1 and v5.5 to ipa_version_string() 2025-07-30 18:08:10 -07:00
ipvlan net: s/dev_pre_changeaddr_notify/netif_pre_changeaddr_notify/ 2025-07-18 17:27:47 -07:00
mctp
mdio net: mdio: mdio-bcm-unimac: Correct rate fallback logic 2025-08-01 14:46:50 -07:00
netdevsim netdevsim: access ->pp through netmem_desc instead of page 2025-07-23 17:46:54 -07:00
ovpn Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-17 11:00:33 -07:00
pcs net: pcs: xpcs: mask readl() return value to 16 bits 2025-07-17 18:45:27 -07:00
phy net: mdio_bus: Use devm for getting reset GPIO 2025-07-30 19:10:25 -07:00
plip
ppp pptp: ensure minimal skb length in pptp_xmit() 2025-07-30 19:11:16 -07:00
pse-pd net: pse-pd: pd692x0: reduce stack usage in pd692x0_setup_pi_matrix 2025-07-10 18:05:36 -07:00
slip
team
thunderbolt
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-26 11:49:45 -07:00
vmxnet3
vxlan vxlan: remove redundant conversion of vni in vxlan_nl2conf 2025-07-23 17:09:29 -07:00
wan
wireguard wireguard: peer: Replace sockaddr with sockaddr_inet 2025-07-25 15:29:58 -07:00
wireless Networking changes for 6.17. 2025-07-30 08:58:55 -07:00
wwan
xen-netback
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: set IFF_UNICAST_FLT priv flag 2025-07-25 11:03:46 -07:00
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
netkit.c netkit: Remove location field in netkit_link 2025-07-11 11:01:09 -07:00
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
Space.c
sungem_phy.c
tap.c net: s/dev_get_mac_address/netif_get_mac_address/ 2025-07-18 17:27:46 -07:00
tun_vnet.h tun: enable gso over UDP tunnel support. 2025-07-08 18:07:26 +02:00
tun.c net: s/dev_get_mac_address/netif_get_mac_address/ 2025-07-18 17:27:46 -07:00
veth.c
virtio_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-17 11:00:33 -07:00
vrf.c vrf: Drop existing dst reference in vrf_ip6_input_dst 2025-07-26 11:28:45 -07:00
vsockmon.c
xen-netfront.c