[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121221.131522.1237366130565709662.davem@davemloft.net>
Date: Fri, 21 Dec 2012 13:15:22 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: erdnetdev@...il.com
Cc: netdev@...r.kernel.org, yamahata@...inux.co.jp
Subject: Re: [PATCH] ip_gre: fix possible use after free
From: Eric Dumazet <erdnetdev@...il.com>
Date: Thu, 20 Dec 2012 18:00:27 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> Once skb_realloc_headroom() is called, tiph might point to freed memory.
>
> Cache tiph->ttl value before the reallocation, to avoid unexpected
> behavior.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Isaku Yamahata <yamahata@...inux.co.jp>
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