[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190726.141830.1385987551076676185.davem@davemloft.net>
Date: Fri, 26 Jul 2019 14:18:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanhaishuang@...s.chinamobile.com
Cc: kuznet@....inr.ac.ru, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ip6_tunnel: fix possible use-after-free on xmit
From: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Date: Fri, 26 Jul 2019 00:40:17 +0800
> 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@...s.chinamobile.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists