[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+=3B-i1Fo=8PWwzXJ-Tn7x8uOL7oQ02Bvx0e-KrdUQFw@mail.gmail.com>
Date: Thu, 19 Oct 2017 07:45:09 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: David Miller <davem@...emloft.net>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net] dccp/tcp: fix ireq->opt races
On Thu, Oct 19, 2017 at 5:31 AM, David Miller <davem@...emloft.net> wrote:
> From: Eric Dumazet <eric.dumazet@...il.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@...ri 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 !
Powered by blists - more mailing lists