From: Eric Dumazet <[email protected]>
Date: Thu, 26 Nov 2015 08:18:14 -0800

> From: Eric Dumazet <[email protected]>
> 
> Dmitry provided a syzkaller (http://github.com/google/syzkaller)
> generated program that triggers the WARNING at 
> net/ipv4/tcp.c:1729 in tcp_recvmsg() :
> 
> WARN_ON(tp->copied_seq != tp->rcv_nxt &&
>         !(flags & (MSG_PEEK | MSG_TRUNC)));
> 
> His program is specifically attempting a Cross SYN TCP exchange,
> that we support (for the pleasure of hackers ?), but it looks we
> lack proper tcp->copied_seq initialization.
> 
> Thanks again Dmitry for your report and testings.
> 
> Signed-off-by: Eric Dumazet <[email protected]>
> Reported-by: Dmitry Vyukov <[email protected]>
> Tested-by: Dmitry Vyukov <[email protected]>

Applied and queued up for -stable, thanks Eric!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to