Re: [PATCH net] dccp/tcp: fix ireq->opt races

2017-10-20 Thread kbuild test robot
Hi Eric, [auto build test WARNING on net/master] url: https://github.com/0day-ci/linux/commits/Eric-Dumazet/dccp-tcp-fix-ireq-opt-races/20171021-001234 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (

Re: [PATCH net] dccp/tcp: fix ireq->opt races

2017-10-20 Thread Eric Dumazet
On Sat, 2017-10-21 at 00:53 +0800, kbuild test robot wrote: > Hi Eric, > > [auto build test WARNING on net/master] > > url: > https://github.com/0day-ci/linux/commits/Eric-Dumazet/dccp-tcp-fix-ireq-opt-races/20171021-001234 > config: ia64-allmodconfig (attached as .config) > compiler: ia64-li

Re: [PATCH net] dccp/tcp: fix ireq->opt races

2017-10-20 Thread kbuild test robot
Hi Eric, [auto build test ERROR on net/master] url: https://github.com/0day-ci/linux/commits/Eric-Dumazet/dccp-tcp-fix-ireq-opt-races/20171021-001234 config: blackfin-allyesconfig (attached as .config) compiler: bfin-uclinux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubuserconte

Re: [PATCH net] dccp/tcp: fix ireq->opt races

2017-10-20 Thread kbuild test robot
Hi Eric, [auto build test WARNING on net/master] url: https://github.com/0day-ci/linux/commits/Eric-Dumazet/dccp-tcp-fix-ireq-opt-races/20171021-001234 config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.c

Re: [PATCH net] dccp/tcp: fix ireq->opt races

2017-10-19 Thread Eric Dumazet
On Thu, Oct 19, 2017 at 3:07 PM, David Miller wrote: > From: Eric Dumazet > Date: Thu, 19 Oct 2017 07:45:09 -0700 > >> Can you send me this v2-net-dccp-tcp-fix-ireq--opt-races.patch file ? >> >> Here the patch applies fine. > > Sure, attached. > > I even just tried it again, same result: > Thank

Re: [PATCH net] dccp/tcp: fix ireq->opt races

2017-10-19 Thread David Miller
From: Eric Dumazet Date: Thu, 19 Oct 2017 07:45:09 -0700 > Can you send me this v2-net-dccp-tcp-fix-ireq--opt-races.patch file ? > > Here the patch applies fine. Sure, attached. I even just tried it again, same result: [davem@kkuri net]$ git am --signoff v2-net-dccp-tcp-fix-ireq--opt-races.pa

Re: [PATCH net] dccp/tcp: fix ireq->opt races

2017-10-19 Thread Eric Dumazet
On Thu, Oct 19, 2017 at 5:31 AM, David Miller wrote: > From: Eric Dumazet > 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

Re: [PATCH net] dccp/tcp: fix ireq->opt races

2017-10-19 Thread David Miller
From: Eric Dumazet 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

Re: [PATCH net] dccp/tcp: fix ireq->opt races

2017-10-17 Thread Eric Dumazet
On Tue, 2017-10-17 at 12:50 -0700, Eric Dumazet wrote: > From: Eric Dumazet > > 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 requ

[PATCH net] dccp/tcp: fix ireq->opt races

2017-10-17 Thread Eric Dumazet
From: Eric Dumazet 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. [1] BUG: KASAN: use-after-free in ip_queue_xmit+0x1687/0x1

[PATCH net] dccp/tcp: fix ireq->opt races

2017-10-17 Thread Eric Dumazet
From: Eric Dumazet 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. [1] BUG: KASAN: use-after-free in ip_queue_xmit+0x1687/0x1