Re: [PATCH net] tcp: initialize tp->copied_seq in case of cross SYN connection

2015-11-30 Thread David Miller
From: Eric Dumazet Date: Thu, 26 Nov 2015 08:18:14 -0800 > From: Eric Dumazet > > 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 && > !

[PATCH net] tcp: initialize tp->copied_seq in case of cross SYN connection

2015-11-26 Thread Eric Dumazet
From: Eric Dumazet 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