mirror-linux/drivers/net
Abdun Nihaal 27c7e63b3c wifi: at76c50x: fix use after free access in at76_disconnect
The memory pointed to by priv is freed at the end of at76_delete_device
function (using ieee80211_free_hw). But the code then accesses the udev
field of the freed object to put the USB device. This may also lead to a
memory leak of the usb device. Fix this by using udev from interface.

Fixes: 29e20aa6c6 ("at76c50x-usb: fix use after free on failure path in at76_probe()")
Signed-off-by: Abdun Nihaal <abdun.nihaal@gmail.com>
Link: https://patch.msgid.link/20250330103110.44080-1-abdun.nihaal@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-04-02 10:43:56 +02:00
..
arcnet
bonding Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-03-26 09:32:10 -07:00
caif tty: caif: removed unused function debugfs_tx() 2025-03-24 13:56:16 -07:00
can Networking changes for 6.15. 2025-03-26 21:48:21 -07:00
dsa Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-03-26 09:32:10 -07:00
ethernet Networking changes for 6.15. 2025-03-26 21:48:21 -07:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154 Networking changes for 6.15. 2025-03-26 21:48:21 -07:00
ipa
ipvlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-03-26 09:32:10 -07:00
mctp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-03-26 09:32:10 -07:00
mdio net: mdio: mdio-i2c: Add support for single-byte SMBus operations 2025-03-25 09:10:55 -07:00
netdevsim ipsec-next-2025-03-24 2025-03-25 08:50:10 -07:00
pcs
phy net: phy: aquantia: add essential functions to aqr105 driver 2025-03-25 13:53:21 -07:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb Networking changes for 6.15. 2025-03-26 21:48:21 -07:00
vmxnet3 vmxnet3: unregister xdp rxq info in the reset path 2025-03-25 07:39:08 -07:00
vxlan
wan
wireguard
wireless wifi: at76c50x: fix use after free access in at76_disconnect 2025-04-02 10:43:56 +02:00
wwan Networking changes for 6.15. 2025-03-26 21:48:21 -07:00
xen-netback
Kconfig net: remove sb1000 cable modem driver 2025-03-21 17:11:54 +01:00
LICENSE.SRC
Makefile net: remove sb1000 cable modem driver 2025-03-21 17:11:54 +01:00
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c netconsole: append release to sysdata 2025-03-21 18:59:25 +01:00
netkit.c
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sungem_phy.c
tap.c Revert "net: replace dev_addr_sem with netdev instance lock" 2025-03-19 18:52:00 +01:00
tun.c Revert "net: replace dev_addr_sem with netdev instance lock" 2025-03-19 18:52:00 +01:00
tun_vnet.h
veth.c
virtio_net.c Networking changes for 6.15. 2025-03-26 21:48:21 -07:00
vrf.c
vsockmon.c
xen-netfront.c