[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131211.161649.858953352616918428.davem@davemloft.net>
Date: Wed, 11 Dec 2013 16:16:49 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: sbohrer@...advisors.com, netdev@...r.kernel.org
Subject: Re: [PATCH] udp: ipv4: fix potential use after free in
udp_v4_early_demux()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 11 Dec 2013 08:10:05 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> pskb_may_pull() can reallocate skb->head, we need to move the
> initialization of iph and uh pointers after its call.
>
> Fixes: 421b3885bf6d ("udp: ipv4: Add udp early demux")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Shawn Bohrer <sbohrer@...advisors.com>
Applied, thanks Eric.
--
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