Re: general protection fault in relay_open_buf

2019-02-01 Thread Greg KH
On Fri, Feb 01, 2019 at 03:57:48AM +, Al Viro wrote: > On Thu, Jan 31, 2019 at 11:51:52AM +0100, Greg KH wrote: > > Can you test the patch below? > > > > thanks, > > > > greg k-h > > > > > @@ -461,7 +463,7 @@ static struct rchan_buf *relay_open_buf(struct rchan > > *chan, unsigned int cpu)

Re: general protection fault in relay_open_buf

2019-01-31 Thread Al Viro
On Thu, Jan 31, 2019 at 11:51:52AM +0100, Greg KH wrote: > Can you test the patch below? > > thanks, > > greg k-h > > @@ -461,7 +463,7 @@ static struct rchan_buf *relay_open_buf(struct rchan > *chan, unsigned int cpu) > dentry = chan->cb->create_buf_file(NULL, NULL, >

Re: general protection fault in relay_open_buf

2019-01-31 Thread Greg KH
On Fri, Feb 01, 2019 at 07:31:48AM +1300, Kees Cook wrote: > On Thu, Jan 31, 2019 at 11:51 PM Greg KH wrote: > > Can you test the patch below? > > > > thanks, > > > > greg k-h > > > > -- > > > > diff --git a/kernel/relay.c b/kernel/relay.c > > index 04f248644e06..9e0f52375487 100644 >

Re: general protection fault in relay_open_buf

2019-01-31 Thread Kees Cook
On Thu, Jan 31, 2019 at 11:51 PM Greg KH wrote: > Can you test the patch below? > > thanks, > > greg k-h > > -- > > diff --git a/kernel/relay.c b/kernel/relay.c > index 04f248644e06..9e0f52375487 100644 > --- a/kernel/relay.c > +++ b/kernel/relay.c > @@ -428,6 +428,8 @@ static struct d

Re: general protection fault in relay_open_buf

2019-01-31 Thread Greg KH
On Thu, Jan 31, 2019 at 08:29:37PM +0900, Tetsuo Handa wrote: > On 2019/01/31 19:51, Greg KH wrote: > > Can you test the patch below? > > You can ask syzbot to test the patch. But > > > @@ -461,7 +463,7 @@ static struct rchan_buf *relay_open_buf(struct rchan > > *chan, unsigned int cpu) > >

Re: general protection fault in relay_open_buf

2019-01-31 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+16c3a70e1e9b29346...@syzkaller.appspotmail.com Tested on: commit: 37ea7b630ae5 debugfs: debugfs_lookup() should return NULL .. git tree: git://git.kernel.o

Re: general protection fault in relay_open_buf

2019-01-31 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+16c3a70e1e9b29346...@syzkaller.appspotmail.com Tested on: commit: af0c9af1b3f6 fs/dcache: Track & report number of negative .. git tree: upstream kernel conf

Re: general protection fault in relay_open_buf

2019-01-31 Thread Tetsuo Handa
On 2019/01/31 19:51, Greg KH wrote: > Can you test the patch below? You can ask syzbot to test the patch. But > @@ -461,7 +463,7 @@ static struct rchan_buf *relay_open_buf(struct rchan > *chan, unsigned int cpu) > dentry = chan->cb->create_buf_file(NULL, NULL, >

Re: general protection fault in relay_open_buf

2019-01-31 Thread Dmitry Vyukov
On Thu, Jan 31, 2019 at 12:22 PM Greg KH wrote: > > On Thu, Jan 31, 2019 at 12:16:42PM +0100, Dmitry Vyukov wrote: > > On Thu, Jan 31, 2019 at 11:51 AM Greg KH wrote: > > > > > > On Thu, Jan 31, 2019 at 10:54:18PM +1300, Kees Cook wrote: > > > > On Thu, Jan 31, 2019 at 7:53 AM syzbot > > > > wro

Re: general protection fault in relay_open_buf

2019-01-31 Thread Greg KH
On Thu, Jan 31, 2019 at 12:16:42PM +0100, Dmitry Vyukov wrote: > On Thu, Jan 31, 2019 at 11:51 AM Greg KH wrote: > > > > On Thu, Jan 31, 2019 at 10:54:18PM +1300, Kees Cook wrote: > > > On Thu, Jan 31, 2019 at 7:53 AM syzbot > > > wrote: > > > > > > > > Hello, > > > > > > > > syzbot found the fol

Re: general protection fault in relay_open_buf

2019-01-31 Thread Dmitry Vyukov
On Thu, Jan 31, 2019 at 11:51 AM Greg KH wrote: > > On Thu, Jan 31, 2019 at 10:54:18PM +1300, Kees Cook wrote: > > On Thu, Jan 31, 2019 at 7:53 AM syzbot > > wrote: > > > > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:02495e76ded5 Add linux-next specific

Re: general protection fault in relay_open_buf

2019-01-31 Thread Greg KH
On Thu, Jan 31, 2019 at 10:54:18PM +1300, Kees Cook wrote: > On Thu, Jan 31, 2019 at 7:53 AM syzbot > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:02495e76ded5 Add linux-next specific files for 20190130 > > git tree: linux-next > > console output

Re: general protection fault in relay_open_buf

2019-01-31 Thread Greg KH
On Thu, Jan 31, 2019 at 10:54:18PM +1300, Kees Cook wrote: > On Thu, Jan 31, 2019 at 7:53 AM syzbot > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:02495e76ded5 Add linux-next specific files for 20190130 > > git tree: linux-next > > console output

Re: general protection fault in relay_open_buf

2019-01-31 Thread Kees Cook
On Thu, Jan 31, 2019 at 7:53 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:02495e76ded5 Add linux-next specific files for 20190130 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=12cf10df40 > kernel config: ht