bisecting fixing commit since 399849e4654ea496a6217ba4e5ee3d304c995ab4 building syzkaller on f30c14bfec4b49e528a756b28cc010925e2f286b testing commit 399849e4654ea496a6217ba4e5ee3d304c995ab4 with gcc (GCC) 8.1.0 kernel signature: 15aa69dfa5d0b6ea6f455d2931ed1904d4505d56f8429762f4dff95425ec7933 run #0: crashed: kernel BUG at fs/buffer.c:LINE! run #1: crashed: kernel BUG at fs/buffer.c:LINE! run #2: crashed: kernel BUG at fs/buffer.c:LINE! run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK testing current HEAD 13af6c74b14a883366e7702c40c52ff548096e7f testing commit 13af6c74b14a883366e7702c40c52ff548096e7f with gcc (GCC) 8.1.0 kernel signature: 361c39449b3cf909b903b9a55025e95486866472b5e9c21cfe19728a7a5a8460 run #0: crashed: kernel BUG at fs/buffer.c:LINE! run #1: crashed: kernel BUG at fs/buffer.c:LINE! run #2: crashed: kernel BUG at fs/buffer.c:LINE! run #3: crashed: kernel BUG at fs/buffer.c:LINE! run #4: crashed: kernel BUG at fs/buffer.c:LINE! run #5: crashed: kernel BUG at fs/buffer.c:LINE! run #6: OK run #7: OK run #8: OK run #9: OK revisions tested: 2, total time: 39m57.555073672s (build: 19m24.968080405s, test: 19m34.166317576s) the crash still happens on HEAD commit msg: Linux 4.19.136 crash: kernel BUG at fs/buffer.c:LINE! MINIX-fs: mounting unchecked file system, running fsck is recommended MINIX-fs: mounting unchecked file system, running fsck is recommended MINIX-fs: mounting unchecked file system, running fsck is recommended ------------[ cut here ]------------ kernel BUG at fs/buffer.c:3065! invalid opcode: 0000 [#1] PREEMPT SMP KASAN minix_free_inode: bit 1 already cleared CPU: 0 PID: 29089 Comm: syz-executor.0 Not tainted 4.19.136-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:submit_bh_wbc+0x4e5/0x6f0 fs/buffer.c:3065 Code: 33 45 89 65 10 4c 89 ef e8 d8 25 75 01 31 c0 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 f0 80 63 01 f7 e9 c1 fb ff ff 0f 0b <0f> 0b 0f 0b 0f 0b 0f 0b 0f 0b e8 5c 5e ea ff eb c6 e8 b5 5d ea ff RSP: 0018:ffff888071147b18 EFLAGS: 00010246 RAX: 0000000000000004 RBX: ffff88806ff4bd20 RCX: 0000000000000000 RDX: 1ffff1100dfe97a4 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888071147b60 R08: 0000000000000000 R09: ffffed100dfe97b0 R10: ffffed100dfe97b0 R11: ffff88806ff4bd83 R12: 0000000000000000 R13: ffff888096b3e540 R14: 0000000000000004 R15: 0000000000000000 FS: 00007f6dbffca700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8316842020 CR3: 00000000922ba000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bh fs/buffer.c:3112 [inline] __bread_slow fs/buffer.c:1176 [inline] __bread_gfp+0xc9/0x190 fs/buffer.c:1369 sb_bread include/linux/buffer_head.h:309 [inline] minix_fill_super+0x84c/0x1830 fs/minix/inode.c:255 mount_bdev+0x26f/0x330 fs/super.c:1158 minix_mount+0x10/0x20 fs/minix/inode.c:656 mount_fs+0x7f/0x2a2 fs/super.c:1261 vfs_kern_mount.part.11+0x58/0x3d0 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x376/0x2710 fs/namespace.c:2799 ksys_mount+0xba/0xe0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45f5fa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 2d 8c fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 0a 8c fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f6dbffc9a68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000050a320 RCX: 000000000045f5fa RDX: 00007f6dbffc9ae0 RSI: 0000000020000080 RDI: 00007f6dbffc9b00 RBP: 000000000078bf00 R08: 00007f6dbffc9b40 R09: 00007f6dbffc9ae0 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000c31 R14: 00000000004ce8a9 R15: 00007f6dbffca6d4 Modules linked in: minix_free_inode: bit 1 already cleared ---[ end trace a15af159a8f40026 ]--- minix_free_inode: bit 1 already cleared RIP: 0010:submit_bh_wbc+0x4e5/0x6f0 fs/buffer.c:3065 MINIX-fs: mounting unchecked file system, running fsck is recommended Code: 33 45 89 65 10 4c 89 ef e8 d8 25 75 01 31 c0 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 f0 80 63 01 f7 e9 c1 fb ff ff 0f 0b <0f> 0b 0f 0b 0f 0b 0f 0b 0f 0b e8 5c 5e ea ff eb c6 e8 b5 5d ea ff RSP: 0018:ffff888071147b18 EFLAGS: 00010246 RAX: 0000000000000004 RBX: ffff88806ff4bd20 RCX: 0000000000000000 RDX: 1ffff1100dfe97a4 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888071147b60 R08: 0000000000000000 R09: ffffed100dfe97b0 R10: ffffed100dfe97b0 R11: ffff88806ff4bd83 R12: 0000000000000000 R13: ffff888096b3e540 R14: 0000000000000004 R15: 0000000000000000 FS: 00007f6dbffca700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6dbff87db8 CR3: 00000000922ba000 CR4: 00000000001406e0 MINIX-fs: mounting unchecked file system, running fsck is recommended MINIX-fs: mounting unchecked file system, running fsck is recommended DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 minix_free_inode: bit 1 already cleared minix_free_inode: bit 1 already cleared DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400