linux/drivers/net
Andres Beltran 4414418595 hv_netvsc: Add validation for untrusted Hyper-V values
For additional robustness in the face of Hyper-V errors or malicious
behavior, validate all values that originate from packets that Hyper-V
has sent to the guest in the host-to-guest ring buffer. Ensure that
invalid values cannot cause indexing off the end of an array, or
subvert an existing validation via integer overflow. Ensure that
outgoing packets do not have any leftover guest memory that has not
been zeroed out.

Signed-off-by: Andres Beltran <lkmlabelt@gmail.com>
Co-developed-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-17 16:21:26 -07:00
..
appletalk treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
arcnet treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bonding treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
caif
can treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dsa net: dsa: microchip: ksz8795: really set the correct number of ports 2020-09-16 17:46:09 -07:00
ethernet net: hns: kerneldoc fixes 2020-09-16 17:37:54 -07:00
fddi treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
fjes treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hamradio treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hippi hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path 2020-07-14 14:11:49 -07:00
hyperv hv_netvsc: Add validation for untrusted Hyper-V values 2020-09-17 16:21:26 -07:00
ieee802154 ieee802154/adf7242: check status of adf7242_read_reg 2020-08-03 20:19:21 +02:00
ipa net: ipa: fix u32_replace_bits by u32p_xxx version 2020-09-11 17:28:48 -07:00
ipvlan ipvlan: fix device features 2020-08-16 15:15:00 -07:00
netdevsim treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
phy net: phy: call phy_disable_interrupts() in phy_attach_direct() instead 2020-09-10 12:57:08 -07:00
plip treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ppp mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
slip
team
usb rndis_host: increase sleep time in the query-response loop 2020-09-14 14:39:59 -07:00
vmxnet3 treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
wan hdlc_ppp: add range checks in ppp_cp_parse_cr() 2020-09-10 13:00:04 -07:00
wimax treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
wireguard wireguard: peerlookup: take lock before checking hash in replace operation 2020-09-09 11:31:38 -07:00
wireless Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver" 2020-09-07 11:39:32 +03:00
xen-netback treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bareudp.c tunnels: PMTU discovery support for directly bridged IP packets 2020-08-04 13:01:45 -07:00
dummy.c
eql.c
geneve.c geneve: add transport ports in route lookup for geneve 2020-09-16 17:41:38 -07:00
gtp.c gtp: add GTPA_LINK info to msg sent to userspace 2020-08-25 06:28:53 -07:00
ifb.c
Kconfig xen networking: add basic XDP support for xen-netfront 2020-07-01 15:25:14 -07:00
LICENSE.SRC
loopback.c
macsec.c
macvlan.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
macvtap.c
Makefile
mdio.c
mii.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
tun.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
veth.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
virtio_net.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
vrf.c vrf: Handle CONFIG_SYSCTL not set 2020-07-23 17:51:04 -07:00
vsockmon.c
vxlan.c Revert "vxlan: fix tos value before xmit" 2020-08-05 12:09:10 -07:00
xen-netfront.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00