kernel_optimize_test/drivers/net
Xie Yongji c92298d228 virtio-net: Add validation for used length
[ Upstream commit ad993a95c508417acdeb15244109e009e50d8758 ]

This adds validation for used length (might come
from an untrusted device) to avoid data corruption
or loss.

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210531135852.113-1-xieyongji@bytedance.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-19 09:44:44 +02:00
..
appletalk net: appletalk: cops: Fix data race in cops_probe1 2021-06-16 12:01:37 +02:00
arcnet
bonding bonding: init notify_work earlier to avoid uninitialized use 2021-06-16 12:01:36 +02:00
caif net: caif: fix memory leak in ldisc_open 2021-06-30 08:47:21 -04:00
can can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path 2021-07-14 16:55:41 +02:00
dsa net: dsa: sja1105: fix NULL pointer dereference in sja1105_reload_cbs() 2021-07-14 16:56:29 +02:00
ethernet net: stmmac: the XPCS obscures a potential "PHY not found" error 2021-07-19 09:44:43 +02:00
fddi
fjes
hamradio net: hamradio: fix memory leak in mkiss_close 2021-06-23 14:42:46 +02:00
hippi
hyperv
ieee802154 ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl() 2021-07-14 16:56:26 +02:00
ipa net: ipa: memory region array is variable size 2021-06-03 09:00:46 +02:00
ipvlan
mdio net: mdio: ipq8064: add regmap config to disable REGCACHE 2021-07-19 09:44:39 +02:00
netdevsim
pcs
phy net: phy: mscc: fix macsec key length 2021-07-14 16:56:28 +02:00
plip
ppp
slip
team
usb r8152: Avoid memcpy() over-reading of ETH_SS_STATS 2021-06-30 08:47:22 -04:00
vmxnet3
wan
wimax
wireguard wireguard: allowedips: free empty intermediate nodes when removing single node 2021-06-10 13:39:24 +02:00
wireless mwifiex: re-fix for unaligned accesses 2021-07-14 16:56:34 +02:00
xen-netback xen-netback: take a reference to the RX task thread 2021-06-10 13:39:29 +02:00
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c net: macsec: fix the length used to copy the key for offloading 2021-07-14 16:56:28 +02:00
macvlan.c
macvtap.c
Makefile
mdio.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: Add validation for used length 2021-07-19 09:44:44 +02:00
vrf.c vrf: do not push non-ND strict packets with a source LLA through packet taps again 2021-07-14 16:56:24 +02:00
vsockmon.c
vxlan.c vxlan: add missing rcu_read_lock() in neigh_reduce() 2021-07-14 16:56:25 +02:00
xen-netfront.c