diff options
author | Haishuang Yan <yanhaishuang@cmss.chinamobile.com> | 2019-07-25 18:40:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-26 23:17:44 +0200 |
commit | 01f5bffad555f8e22a61f4b1261fe09cf1b96994 (patch) | |
tree | a5131a096a2872bac0fcd888ebfd6c46ee174ed8 /drivers/rtc/rtc-msm6242.c | |
parent | ocelot: Cancel delayed work before wq destruction (diff) | |
download | linux-01f5bffad555f8e22a61f4b1261fe09cf1b96994.tar.xz linux-01f5bffad555f8e22a61f4b1261fe09cf1b96994.zip |
ip6_tunnel: fix possible use-after-free on xmit
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>
Diffstat (limited to 'drivers/rtc/rtc-msm6242.c')
0 files changed, 0 insertions, 0 deletions