[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141018.130736.1862152251359862845.davem@davemloft.net>
Date: Sat, 18 Oct 2014 13:07:36 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: roy.qing.li@...il.com
Cc: netdev@...r.kernel.org, weichunc@...mgrid.com
Subject: Re: [PATCH] ipv4: fix a potential use after free in gre_offload.c
From: roy.qing.li@...il.com
Date: Sat, 18 Oct 2014 17:26:04 +0800
> From: Li RongQing <roy.qing.li@...il.com>
>
> pskb_may_pull() may change skb->data and make greh pointer oboslete;
> so need to reassign greh;
> but since first calling pskb_may_pull already ensured that skb->data
> has enough space for greh, so move the reference of greh before second
> calling pskb_may_pull(), to avoid reassign greh.
>
> Fixes: 7a7ffbabf9("ipv4: fix tunneled VM traffic over hw VXLAN/GRE GSO NIC")
> Cc: Wei-Chun Chao <weichunc@...mgrid.com>
> Signed-off-by: Li RongQing <roy.qing.li@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists