Re: net/core: BUG in copy_net_ns()

2019-01-15 Thread Dmitry Vyukov
On Mon, Jan 14, 2019 at 7:30 PM Eric W. Biederman wrote: > > zzoru writes: > > > I think that it is exactly same to: > > https://groups.google.com/forum/#!searchin/linux.kernel/cleanup_net$20is$20slow%7Csort:date/linux.kernel/IMJ9OzonDSI/QH86oy1PAQAJ > > Already, patch was maded, but maybe he for

Re: net/core: BUG in copy_net_ns()

2019-01-14 Thread Eric W. Biederman
zzoru writes: > I think that it is exactly same to: > https://groups.google.com/forum/#!searchin/linux.kernel/cleanup_net$20is$20slow%7Csort:date/linux.kernel/IMJ9OzonDSI/QH86oy1PAQAJ > Already, patch was maded, but maybe he forgot to push it. That patch was made to address speed, and lifetime o

Re: net/core: BUG in copy_net_ns()

2019-01-14 Thread Eric W. Biederman
Dmitry Vyukov writes: > This looks superciliously similar to: > https://groups.google.com/d/msg/syzkaller-bugs/nFeC8-UG1gg/B6GFaZFrFQAJ > > The crux: for the last ~half a year low memory conditions randomly > corrupt kernel memory with stack overflows. Does enabling virtually mapped stacks catch

Re: net/core: BUG in copy_net_ns()

2019-01-14 Thread Dmitry Vyukov
056] RBP: 7fff6ac6a6d0 R08: 000000000005 R09: >> > 7fff6ac6a720 >> > [ 90.933165] R10: R11: 0217 R12: >> > 5607242822e0 >> > [ 90.934278] R13: 7fff6ac6a830 R14: R15: >> > 0

Re: net/core: BUG in copy_net_ns()

2019-01-11 Thread Eric W. Biederman
ecided when the > network > *  namespace should be > shut down. > */ > +   refcount_t      passive;        /* To decided when the > network > +   

Re: net/core: BUG in copy_net_ns()

2019-01-11 Thread Kirill Tkhai
On 11.01.2019 23:33, Eric W. Biederman wrote: > zzoru writes: > >> net/core: BUG in copy_net_ns() (net_namespace.c) > > I don't understand this failure report at all. > > I don't see the connection to copy_net_ns(). And I don't see how the > suggested

Re: net/core: BUG in copy_net_ns()

2019-01-11 Thread Eric W. Biederman
zzoru writes: > net/core: BUG in copy_net_ns() (net_namespace.c) I don't understand this failure report at all. I don't see the connection to copy_net_ns(). And I don't see how the suggested patch short of covering up a memory stomp could possibly make a difference.

net/core: BUG in copy_net_ns()

2019-01-11 Thread zzoru
net/core: BUG in copy_net_ns() (net_namespace.c) Hello, I've got the following error report while fuzzing the kernel with syzkaller. On commit 1bdbe227492075d058e37cb3d400e6468d0095b5 Syzkaller hit 'WARNING in __alloc_pages_slowpath' bug. syz-executor561 (17453) used great