On Thu, Oct 19, 2017 at 5:31 AM, David Miller <da...@davemloft.net> wrote: > From: Eric Dumazet <eric.duma...@gmail.com> > Date: Tue, 17 Oct 2017 12:45:26 -0700 > >> syzkaller found another bug in DCCP/TCP stacks [1] >> >> For the reasons explained in commit ce1050089c96 ("tcp/dccp: fix >> ireq->pktopts race"), we need to make sure we do not access >> ireq->opt unless we own the request sock. > > This doesn't apply to 'net'. > > [davem@kkuri net]$ git am --signoff v2-net-dccp-tcp-fix-ireq--opt-races.patch > Applying: dccp/tcp: fix ireq->opt races > error: patch failed: include/net/inet_sock.h:96 > error: include/net/inet_sock.h: patch does not apply > error: patch failed: net/dccp/ipv4.c:414 > error: net/dccp/ipv4.c: patch does not apply > error: patch failed: net/ipv4/inet_connection_sock.c:540 > error: net/ipv4/inet_connection_sock.c: patch does not apply > error: patch failed: net/ipv4/syncookies.c:355 > error: net/ipv4/syncookies.c: patch does not apply > error: patch failed: net/ipv4/tcp_input.c:6196 > error: net/ipv4/tcp_input.c: patch does not apply > error: patch failed: net/ipv4/tcp_ipv4.c:877 > error: net/ipv4/tcp_ipv4.c: patch does not apply
Can you send me this v2-net-dccp-tcp-fix-ireq--opt-races.patch file ? Here the patch applies fine. Thanks !