Re: KASAN: slab-out-of-bounds Read in string (2)

2018-10-25 Thread J. Bruce Fields
On Thu, Oct 25, 2018 at 06:17:25PM +0300, Amir Goldstein wrote: > On Thu, Oct 25, 2018 at 6:02 PM Bruce Fields wrote: > > > > > So I guess it has fallen between the cracks. > > > > Feel free to send a patch to Jeff. > > > > > > > > Thanks, > > > > Amir. > > > > > > Actually, this should probably

Re: KASAN: slab-out-of-bounds Read in string (2)

2018-10-25 Thread Amir Goldstein
On Thu, Oct 25, 2018 at 6:02 PM Bruce Fields wrote: > > > So I guess it has fallen between the cracks. > > > Feel free to send a patch to Jeff. > > > > > > Thanks, > > > Amir. > > > > Actually, this should probably go to Bruce, as he mostly takes care of > > lockd. Patch looks correct though. > >

Re: KASAN: slab-out-of-bounds Read in string (2)

2018-10-25 Thread Bruce Fields
On Wed, Oct 24, 2018 at 06:40:35AM -0400, Jeff Layton wrote: > On Wed, 2018-10-24 at 12:35 +0300, Amir Goldstein wrote: > > > > diff --git a/fs/lockd/host.c b/fs/lockd/host.c > > > > index d35cd6be0675..93fb7cf0b92b 100644 > > > > --- a/fs/lockd/host.c > > > > +++ b/fs/lockd/host.c > > > > @@ -341,

Re: KASAN: slab-out-of-bounds Read in string (2)

2018-10-24 Thread Jeff Layton
On Wed, 2018-10-24 at 12:35 +0300, Amir Goldstein wrote: > > > diff --git a/fs/lockd/host.c b/fs/lockd/host.c > > > index d35cd6be0675..93fb7cf0b92b 100644 > > > --- a/fs/lockd/host.c > > > +++ b/fs/lockd/host.c > > > @@ -341,7 +341,7 @@ struct nlm_host *nlmsvc_lookup_host(const struct > > > svc_rq

Re: KASAN: slab-out-of-bounds Read in string (2)

2018-10-24 Thread Amir Goldstein
> > diff --git a/fs/lockd/host.c b/fs/lockd/host.c > > index d35cd6be0675..93fb7cf0b92b 100644 > > --- a/fs/lockd/host.c > > +++ b/fs/lockd/host.c > > @@ -341,7 +341,7 @@ struct nlm_host *nlmsvc_lookup_host(const struct > > svc_rqst *rqstp, > > }; > > struct lockd_net *ln = net_gene

Re: KASAN: slab-out-of-bounds Read in string (2)

2018-10-24 Thread Dan Carpenter
Hi Amir, Thanks so much for this idea. On Fri, Sep 28, 2018 at 08:39:15PM +0300, Amir Goldstein wrote: > On Fri, Sep 28, 2018 at 5:55 PM Dmitry Vyukov wrote: > > > > On Fri, Sep 28, 2018 at 4:45 PM, syzbot > > wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD

Re: KASAN: slab-out-of-bounds Read in string (2)

2018-09-28 Thread Amir Goldstein
On Fri, Sep 28, 2018 at 5:55 PM Dmitry Vyukov wrote: > > On Fri, Sep 28, 2018 at 4:45 PM, syzbot > wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:c127e59bee3e Merge tag 'for_v4.19-rc6' of git://git.kernel.. > > git tree: upstream > > console output: h

Re: KASAN: slab-out-of-bounds Read in string (2)

2018-09-28 Thread Dmitry Vyukov
On Fri, Sep 28, 2018 at 4:45 PM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:c127e59bee3e Merge tag 'for_v4.19-rc6' of git://git.kernel.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=13b2f32a40 > kernel config:

KASAN: slab-out-of-bounds Read in string (2)

2018-09-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:c127e59bee3e Merge tag 'for_v4.19-rc6' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13b2f32a40 kernel config: https://syzkaller.appspot.com/x/.config?x=dfb440e26f0a6f6f da