bisecting fixing commit since 0854ba5ff5c938307cd783e996b62c83f1ce923b building syzkaller on 8b311eafa7f32ebcae67cdf5e16aa1ab3fc77e7f testing commit 0854ba5ff5c938307cd783e996b62c83f1ce923b with gcc (GCC) 8.1.0 kernel signature: 40072c7be2a6f465a984d0707de09d58b678b38a run #0: crashed: kernel BUG at fs/block_dev.c:LINE! run #1: crashed: kernel BUG at fs/block_dev.c:LINE! run #2: crashed: WARNING in __blkdev_put run #3: crashed: kernel BUG at fs/block_dev.c:LINE! run #4: crashed: WARNING in blkdev_put run #5: crashed: kernel BUG at fs/block_dev.c:LINE! run #6: crashed: WARNING in __blkdev_put run #7: OK run #8: crashed: kernel BUG at fs/block_dev.c:LINE! run #9: OK testing current HEAD 040a3c33623ba4bd11588ab0820281b854a3ffaf testing commit 040a3c33623ba4bd11588ab0820281b854a3ffaf with gcc (GCC) 8.1.0 kernel signature: b3d2d11c56c8b852183ac08edda90eb13f7cfde2 run #0: crashed: kernel BUG at fs/block_dev.c:LINE! run #1: crashed: WARNING in __blkdev_put run #2: crashed: WARNING in corrupted run #3: OK run #4: crashed: WARNING in __blkdev_put run #5: crashed: kernel BUG at fs/block_dev.c:LINE! run #6: crashed: WARNING in blkdev_put run #7: OK run #8: OK run #9: OK revisions tested: 2, total time: 34m35.587724128s (build: 11m10.874896278s, test: 22m38.844196181s) the crash still happens on HEAD commit msg: Merge tag 'iommu-fixes-v5.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu crash: WARNING in blkdev_put loop0: p1 loop1: p1 loop2: p1 __loop_clr_fd: partition scan of loop0 failed (rc=-16) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4755 at fs/block_dev.c:1929 blkdev_put+0x3ed/0x480 fs/block_dev.c:1928 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 4755 Comm: syz-executor108 Not tainted 5.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x12d/0x187 lib/dump_stack.c:118 panic+0x22a/0x4f5 kernel/panic.c:221 __warn.cold.10+0x25/0x28 kernel/panic.c:582 report_bug+0x1b0/0x270 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:blkdev_put+0x3ed/0x480 fs/block_dev.c:1929 Code: ef fc ff ff 48 89 55 d0 e8 70 4d e9 ff 48 8b 55 d0 e9 43 fd ff ff 48 89 d7 e8 5f 4d e9 ff e9 6e fd ff ff 0f 0b e9 de fc ff ff <0f> 0b e9 3f fd ff ff e8 67 4d e9 ff e9 4f fc ff ff 4c 89 ff 48 89 RSP: 0018:ffff8881ad3e7db0 EFLAGS: 00010297 RAX: 00000000ffffffff RBX: ffff8881c46a9040 RCX: 1ffff11037c9dcd5 RDX: ffff8881c46a90e8 RSI: 0000000000000004 RDI: ffff8881be4ee6a8 RBP: ffff8881ad3e7de0 R08: 0000000000000004 R09: ffffed1035a7cfa3 R10: ffffed1035a7cfa3 R11: 0000000000000003 R12: ffff8881c46a9058 R13: 00000000080a009d R14: ffff8881be4ee600 R15: ffff8881c46a9100 blkdev_close+0x88/0xd0 fs/block_dev.c:1965 __fput+0x25d/0x780 fs/file_table.c:280 ____fput+0x9/0x10 fs/file_table.c:313 task_work_run+0x10e/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x1be/0x210 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x50b/0x600 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x401740 Code: 01 f0 ff ff 0f 83 80 0c 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 8d 5f 2d 00 00 75 14 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 54 0c 00 00 c3 48 83 ec 08 e8 ba 01 00 00 RSP: 002b:00007ffe4d6868c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000401740 RDX: 00000000008001a0 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 0000000000084e82 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402820 R13: 00000000004028b0 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..