summaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>2019-07-25 19:40:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-09 18:53:34 +0300
commit6926655998f29c14384400c665217e46eeb9a4c0 (patch)
treec75aae3b1c88956c2d5655d1aad09ea8eb35d4ce /net/bridge
parent7fcc60e5f837e7f626e08b486697017953e7e6a0 (diff)
downloadlinux-6926655998f29c14384400c665217e46eeb9a4c0.tar.xz
ip6_tunnel: fix possible use-after-free on xmit
[ Upstream commit 01f5bffad555f8e22a61f4b1261fe09cf1b96994 ] 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: 0e9a709560db ("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>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions