[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130212.160733.2235089567079483883.davem@davemloft.net>
Date: Tue, 12 Feb 2013 16:07:33 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: tt.rantala@...il.com, netdev@...r.kernel.org, davej@...hat.com,
xemul@...allels.com
Subject: Re: [PATCH] net: fix infinite loop in __skb_recv_datagram()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 12 Feb 2013 08:16:53 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> Tommi was fuzzing with trinity and reported the following problem :
>
> commit 3f518bf745 (datagram: Add offset argument to __skb_recv_datagram)
> missed that a raw socket receive queue can contain skbs with no payload.
>
> We can loop in __skb_recv_datagram() with MSG_PEEK mode, because
> wait_for_packet() is not prepared to skip these skbs.
...
> Reported-by: Tommi Rantala <tt.rantala@...il.com>
> Tested-by: Tommi Rantala <tt.rantala@...il.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks.
--
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