Files
linux/net/ipv6
Haishuang Yan 6926655998 ip6_tunnel: fix possible use-after-free on xmit
[ Upstream commit 01f5bffad5 ]

ip4ip6/ip6ip6 tunnels run iptunnel_handle_offloads on xmit which
can cause a possible use-after-free accessing iph/ipv6h pointer
since the packet will be 'uncloned' running pskb_expand_head if
it is a cloned gso skb.

Fixes: 0e9a709560 ("ip6_tunnel, ip6_gre: fix setting of DSCP on encapsulated packets")
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-09 17:53:34 +02:00
..
2019-02-23 09:06:42 +01:00
2017-05-21 13:42:36 -04:00
2017-09-08 16:09:04 -07:00
2018-07-25 11:25:09 +02:00
2016-12-25 17:21:23 +01:00
2017-06-04 22:56:55 -04:00