Re: [syzbot] [bcachefs?] WARNING in bch2_fs_ioctl

From: Kent Overstreet
Date: Wed Jun 12 2024 - 19:24:05 EST


On Tue, Jun 11, 2024 at 11:15:29AM -0700, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 83a7eefedc9b Linux 6.10-rc3
> git tree: upstream
> console+strace: https://syzkaller.appspot.com/x/log.txt?x=116b64de980000
> kernel config: https://syzkaller.appspot.com/x/.config?x=c79815c08cc14227
> dashboard link: https://syzkaller.appspot.com/bug?extid=9757fdbdabd69eae08ad
> compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=109726ee980000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13f2c4fe980000
>
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/b45273014a8f/disk-83a7eefe.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/94cd5708292e/vmlinux-83a7eefe.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/a89698812e8b/bzImage-83a7eefe.xz
> mounted in repro: https://storage.googleapis.com/syzbot-assets/2b8f6b18fd8a/mount_0.gz
>
> The issue was bisected to:
>
> commit 03ef80b469d5d83530ce1ce15be78a40e5300f9b
> Author: Kent Overstreet <kent.overstreet@xxxxxxxxx>
> Date: Sat Sep 23 22:41:51 2023 +0000
>
> bcachefs: Ignore unknown mount options

these bisects are all wrong...

>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1538cd96980000
> final oops: https://syzkaller.appspot.com/x/report.txt?x=1738cd96980000
> console output: https://syzkaller.appspot.com/x/log.txt?x=1338cd96980000
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+9757fdbdabd69eae08ad@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 03ef80b469d5 ("bcachefs: Ignore unknown mount options")
>
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 5079 at mm/page_alloc.c:4654 __alloc_pages_noprof+0x36a/0x6c0 mm/page_alloc.c:4654

this is already fixed in the disk accounting rewrite, queued up for 6.11