2022-03-20 04:44:24

by syzbot

[permalink] [raw]
Subject: Re: [syzbot] WARNING: kobject bug in erofs_unregister_sysfs

syzbot has bisected this issue to:

commit 2768c206f2c3e95c0e5cf2e7f846103fda7cd429
Author: Muchun Song <[email protected]>
Date: Thu Mar 3 01:15:36 2022 +0000

mm: list_lru: allocate list_lru_one only when needed

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1495694d700000
start commit: 91265a6da44d Add linux-next specific files for 20220303
git tree: linux-next
final oops: https://syzkaller.appspot.com/x/report.txt?x=1695694d700000
console output: https://syzkaller.appspot.com/x/log.txt?x=1295694d700000
kernel config: https://syzkaller.appspot.com/x/.config?x=617f79440a35673a
dashboard link: https://syzkaller.appspot.com/bug?extid=f05ba4652c0471416eaf
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=137f17d9700000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=114ebabd700000

Reported-by: [email protected]
Fixes: 2768c206f2c3 ("mm: list_lru: allocate list_lru_one only when needed")

For information about bisection process see: https://goo.gl/tpsmEJ#bisection


2022-03-21 14:03:51

by Muchun Song

[permalink] [raw]
Subject: Re: [syzbot] WARNING: kobject bug in erofs_unregister_sysfs

On Sat, Mar 19, 2022 at 6:33 AM syzbot
<[email protected]> wrote:
>
> syzbot has bisected this issue to:
>
> commit 2768c206f2c3e95c0e5cf2e7f846103fda7cd429
> Author: Muchun Song <[email protected]>
> Date: Thu Mar 3 01:15:36 2022 +0000
>
> mm: list_lru: allocate list_lru_one only when needed
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1495694d700000
> start commit: 91265a6da44d Add linux-next specific files for 20220303
> git tree: linux-next
> final oops: https://syzkaller.appspot.com/x/report.txt?x=1695694d700000
> console output: https://syzkaller.appspot.com/x/log.txt?x=1295694d700000
> kernel config: https://syzkaller.appspot.com/x/.config?x=617f79440a35673a
> dashboard link: https://syzkaller.appspot.com/bug?extid=f05ba4652c0471416eaf
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=137f17d9700000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=114ebabd700000
>
> Reported-by: [email protected]
> Fixes: 2768c206f2c3 ("mm: list_lru: allocate list_lru_one only when needed")

Does this patch [1] fix the issue? If yes, I am confused why the Fixes tag
should be the commit 2768c206f2c3? What am I missing here?

[1] https://lore.kernel.org/r/[email protected]

Thanks.

2022-03-21 21:41:55

by Dongliang Mu

[permalink] [raw]
Subject: Re: [syzbot] WARNING: kobject bug in erofs_unregister_sysfs

On Sat, Mar 19, 2022 at 10:21 AM Muchun Song <[email protected]> wrote:
>
> On Sat, Mar 19, 2022 at 6:33 AM syzbot
> <[email protected]> wrote:
> >
> > syzbot has bisected this issue to:
> >
> > commit 2768c206f2c3e95c0e5cf2e7f846103fda7cd429
> > Author: Muchun Song <[email protected]>
> > Date: Thu Mar 3 01:15:36 2022 +0000
> >
> > mm: list_lru: allocate list_lru_one only when needed
> >
> > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1495694d700000
> > start commit: 91265a6da44d Add linux-next specific files for 20220303
> > git tree: linux-next
> > final oops: https://syzkaller.appspot.com/x/report.txt?x=1695694d700000
> > console output: https://syzkaller.appspot.com/x/log.txt?x=1295694d700000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=617f79440a35673a
> > dashboard link: https://syzkaller.appspot.com/bug?extid=f05ba4652c0471416eaf
> > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=137f17d9700000
> > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=114ebabd700000
> >
> > Reported-by: [email protected]
> > Fixes: 2768c206f2c3 ("mm: list_lru: allocate list_lru_one only when needed")
>
> Does this patch [1] fix the issue? If yes, I am confused why the Fixes tag
> should be the commit 2768c206f2c3? What am I missing here?

Sometimes syzkaller bisection may make mistakes. Please ignore it.

>
> [1] https://lore.kernel.org/r/[email protected]
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/CAMZfGtWL-2%2Ben7%3DFKBoPUwq1FMGYYqZCvB1jmJ7fhiQc1XX4oQ%40mail.gmail.com.

2022-03-21 21:45:08

by Dmitry Vyukov

[permalink] [raw]
Subject: Re: [syzbot] WARNING: kobject bug in erofs_unregister_sysfs

On Sun, 20 Mar 2022 at 05:19, Dongliang Mu <[email protected]> wrote:
>
> On Sat, Mar 19, 2022 at 10:21 AM Muchun Song <[email protected]> wrote:
> >
> > On Sat, Mar 19, 2022 at 6:33 AM syzbot
> > <[email protected]> wrote:
> > >
> > > syzbot has bisected this issue to:
> > >
> > > commit 2768c206f2c3e95c0e5cf2e7f846103fda7cd429
> > > Author: Muchun Song <[email protected]>
> > > Date: Thu Mar 3 01:15:36 2022 +0000
> > >
> > > mm: list_lru: allocate list_lru_one only when needed
> > >
> > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1495694d700000
> > > start commit: 91265a6da44d Add linux-next specific files for 20220303
> > > git tree: linux-next
> > > final oops: https://syzkaller.appspot.com/x/report.txt?x=1695694d700000
> > > console output: https://syzkaller.appspot.com/x/log.txt?x=1295694d700000
> > > kernel config: https://syzkaller.appspot.com/x/.config?x=617f79440a35673a
> > > dashboard link: https://syzkaller.appspot.com/bug?extid=f05ba4652c0471416eaf
> > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=137f17d9700000
> > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=114ebabd700000
> > >
> > > Reported-by: [email protected]
> > > Fixes: 2768c206f2c3 ("mm: list_lru: allocate list_lru_one only when needed")
> >
> > Does this patch [1] fix the issue? If yes, I am confused why the Fixes tag
> > should be the commit 2768c206f2c3? What am I missing here?
>
> Sometimes syzkaller bisection may make mistakes. Please ignore it.
>
> >
> > [1] https://lore.kernel.org/r/[email protected]
>

Let's tell syzbot so that it reports new bugs in future:

#syz fix: fs: erofs: add sanity check for kobject in erofs_unregister_sysfs

2022-03-21 21:50:45

by Gao Xiang

[permalink] [raw]
Subject: Re: [syzbot] WARNING: kobject bug in erofs_unregister_sysfs

On Sat, Mar 19, 2022 at 10:19:12AM +0800, Muchun Song wrote:
> On Sat, Mar 19, 2022 at 6:33 AM syzbot
> <[email protected]> wrote:
> >
> > syzbot has bisected this issue to:
> >
> > commit 2768c206f2c3e95c0e5cf2e7f846103fda7cd429
> > Author: Muchun Song <[email protected]>
> > Date: Thu Mar 3 01:15:36 2022 +0000
> >
> > mm: list_lru: allocate list_lru_one only when needed
> >
> > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1495694d700000
> > start commit: 91265a6da44d Add linux-next specific files for 20220303
> > git tree: linux-next
> > final oops: https://syzkaller.appspot.com/x/report.txt?x=1695694d700000
> > console output: https://syzkaller.appspot.com/x/log.txt?x=1295694d700000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=617f79440a35673a
> > dashboard link: https://syzkaller.appspot.com/bug?extid=f05ba4652c0471416eaf
> > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=137f17d9700000
> > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=114ebabd700000
> >
> > Reported-by: [email protected]
> > Fixes: 2768c206f2c3 ("mm: list_lru: allocate list_lru_one only when needed")
>
> Does this patch [1] fix the issue? If yes, I am confused why the Fixes tag
> should be the commit 2768c206f2c3? What am I missing here?
>
> [1] https://lore.kernel.org/r/[email protected]

I think it was an incorrect bisect so we could just ignore it.
The fix is already pending for the next merge window.

Thanks,
Gao Xiang

>
> Thanks.

2022-03-23 20:13:26

by Gao Xiang

[permalink] [raw]
Subject: Re: [syzbot] WARNING: kobject bug in erofs_unregister_sysfs

On Mon, Mar 21, 2022 at 07:55:29AM +0100, Dmitry Vyukov wrote:
> On Sun, 20 Mar 2022 at 05:19, Dongliang Mu <[email protected]> wrote:
> >
> > On Sat, Mar 19, 2022 at 10:21 AM Muchun Song <[email protected]> wrote:
> > >
> > > On Sat, Mar 19, 2022 at 6:33 AM syzbot
> > > <[email protected]> wrote:
> > > >
> > > > syzbot has bisected this issue to:
> > > >
> > > > commit 2768c206f2c3e95c0e5cf2e7f846103fda7cd429
> > > > Author: Muchun Song <[email protected]>
> > > > Date: Thu Mar 3 01:15:36 2022 +0000
> > > >
> > > > mm: list_lru: allocate list_lru_one only when needed
> > > >
> > > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1495694d700000
> > > > start commit: 91265a6da44d Add linux-next specific files for 20220303
> > > > git tree: linux-next
> > > > final oops: https://syzkaller.appspot.com/x/report.txt?x=1695694d700000
> > > > console output: https://syzkaller.appspot.com/x/log.txt?x=1295694d700000
> > > > kernel config: https://syzkaller.appspot.com/x/.config?x=617f79440a35673a
> > > > dashboard link: https://syzkaller.appspot.com/bug?extid=f05ba4652c0471416eaf
> > > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=137f17d9700000
> > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=114ebabd700000
> > > >
> > > > Reported-by: [email protected]
> > > > Fixes: 2768c206f2c3 ("mm: list_lru: allocate list_lru_one only when needed")
> > >
> > > Does this patch [1] fix the issue? If yes, I am confused why the Fixes tag
> > > should be the commit 2768c206f2c3? What am I missing here?
> >
> > Sometimes syzkaller bisection may make mistakes. Please ignore it.
> >
> > >
> > > [1] https://lore.kernel.org/r/[email protected]
> >
>
> Let's tell syzbot so that it reports new bugs in future:
>
> #syz fix: fs: erofs: add sanity check for kobject in erofs_unregister_sysfs

Thanks! The fix has been landed upstream now.

Thanks,
Gao Xiang