linux-stable/drivers/net
Gencen Gan 1d2f799c16 net: amd: Fix link leak when verifying config failed
[ Upstream commit d325c34d9e ]

After failing to verify configuration, it returns directly without
releasing link, which may cause memory leak.

Paolo Abeni thinks that the whole code of this driver is quite
"suboptimal" and looks unmainatained since at least ~15y, so he
suggests that we could simply remove the whole driver, please
take it into consideration.

Simon Horman suggests that the fix label should be set to
"Linux-2.6.12-rc2" considering that the problem has existed
since the driver was introduced and the commit above doesn't
seem to exist in net/net-next.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Gan Gecen <gangecen@hust.edu.cn>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:00:31 +09:00
..
appletalk
arcnet
bonding bonding: Fix memory leak when changing bond type to Ethernet 2023-04-26 13:51:49 +02:00
caif
can
dsa net: dsa: b53: mmap: add phy ops 2023-04-26 13:51:50 +02:00
ethernet net: amd: Fix link leak when verifying config failed 2023-05-11 23:00:31 +09:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan
mctp
mdio
netdevsim
pcs net: pcs: xpcs: remove double-read of link state when using AN 2023-05-11 23:00:26 +09:00
phy net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow 2023-04-20 12:13:55 +02:00
plip
ppp
slip
team
usb
vmxnet3
wan
wireguard wireguard: timers: cast enum limits members to int in prints 2023-05-11 23:00:15 +09:00
wireless wifi: iwlwifi: fw: fix memory leak in debugfs 2023-05-11 23:00:30 +09:00
wwan
xen-netback xen/netback: use same error messages for same errors 2023-04-26 13:51:51 +02:00
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c virtio_net: bugfix overflow inside xdp_linearize_page() 2023-04-26 13:51:47 +02:00
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c