lineage_android_kernel_xiao.../net/openvswitch
Liping Zhang d53ff3816d openvswitch: fix potential out of bound access in parse_ct
[ Upstream commit 69ec932e364b1ba9c3a2085fe96b76c8a3f71e7c ]

Before the 'type' is validated, we shouldn't use it to fetch the
ovs_ct_attr_lens's minlen and maxlen, else, out of bound access
may happen.

Fixes: 7f8a436eaa ("openvswitch: Add conntrack action")
Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-11 08:49:32 -07:00
..
Kconfig
Makefile
actions.c openvswitch: use mpls_hdr 2016-10-03 02:00:22 -04:00
conntrack.c openvswitch: fix potential out of bound access in parse_ct 2017-08-11 08:49:32 -07:00
conntrack.h
datapath.c
datapath.h
dp_notify.c
flow.c openvswitch: vlan: remove wrong likely statement 2016-10-13 10:03:23 -04:00
flow.h
flow_netlink.c openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD 2017-03-30 09:41:21 +02:00
flow_netlink.h
flow_table.c
flow_table.h
vport-geneve.c
vport-gre.c
vport-internal_dev.c openvswitch: add NETIF_F_HW_VLAN_STAG_TX to internal dev 2016-10-13 10:03:23 -04:00
vport-internal_dev.h
vport-netdev.c
vport-netdev.h
vport-vxlan.c
vport.c openvswitch: fix vlan subtraction from packet length 2016-10-13 10:03:23 -04:00
vport.h