Xin Long eadf52cf18 vxlan: check tun_info options_len properly
This patch is to improve the tun_info options_len by dropping
the skb when TUNNEL_VXLAN_OPT is set but options_len is less
than vxlan_metadata. This can void a potential out-of-bounds
access on ip_tun_info.

Fixes: ee122c79d422 ("vxlan: Flow based tunneling")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-10-29 17:39:26 -07:00
..
2019-09-26 08:56:17 +02:00
2019-10-24 14:53:48 -07:00
2019-08-08 18:03:42 -07:00
2019-09-26 08:56:17 +02:00
2019-09-27 20:58:35 +02:00
2019-10-24 14:53:48 -07:00