bisecting fixing commit since b5d903c2d656e9bc54bc76554a477d796a63120d building syzkaller on 27c5f59f504f562333e3cd5e715fea5cb69c396e testing commit b5d903c2d656e9bc54bc76554a477d796a63120d with gcc (GCC) 8.1.0 kernel signature: 632cc0a1a2f2f04a756e63a5f7ddccf2dd29b95c81434aba00146b4335de4f2f run #0: crashed: WARNING in blkdev_put run #1: crashed: WARNING in blkdev_put run #2: crashed: WARNING in blkdev_put run #3: crashed: WARNING in blkdev_put 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: crashed: kernel BUG at fs/block_dev.c:LINE! run #8: crashed: kernel BUG at fs/block_dev.c:LINE! run #9: crashed: WARNING in blkdev_put testing current HEAD 34dabd81160f7bfb18b67c1161b3c4d7ca6cab83 testing commit 34dabd81160f7bfb18b67c1161b3c4d7ca6cab83 with gcc (GCC) 8.1.0 kernel signature: cbc741b0cce2e6003dba75f1645b0fe83dded7d2eaf68c0acaae6f5a2ca77b47 run #0: crashed: WARNING in __blkdev_put run #1: crashed: WARNING in blkdev_put run #2: crashed: WARNING in blkdev_put run #3: crashed: WARNING in corrupted run #4: crashed: WARNING in __blkdev_put run #5: crashed: WARNING in __blkdev_put run #6: crashed: WARNING in blkdev_put run #7: crashed: WARNING in blkdev_put run #8: crashed: kernel BUG at fs/block_dev.c:LINE! run #9: crashed: WARNING in __blkdev_put revisions tested: 2, total time: 25m7.615307169s (build: 10m35.427150361s, test: 13m50.892275117s) the crash still happens on HEAD commit msg: Merge tag 'pnp-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm crash: WARNING in __blkdev_put loop1: partition table partially beyond EOD, truncated loop5: [CUMANA/ADFS] p1 [Linux] p2 [ADFS] p1 [Linux] p2 loop5: partition table partially beyond EOD, truncated ------------[ cut here ]------------ WARNING: CPU: 0 PID: 11645 at fs/block_dev.c:1888 __blkdev_put+0x59a/0x700 fs/block_dev.c:1912 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 11645 Comm: syz-executor Not tainted 5.5.0-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+0x12f/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+0x59a/0x700 fs/block_dev.c:1888 Code: ff ff 8b b5 3c ff ff ff ba 01 00 00 00 4c 89 e7 e8 7b fa ff ff e9 c6 fd ff ff 48 c7 85 50 ff ff ff 08 00 00 00 e9 25 fc ff ff <0f> 0b e9 c3 fb ff ff e8 8a 32 30 01 48 8b bd 40 ff ff ff e8 ce ab RSP: 0018:ffff8881c48b7cb0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 1ffff11038916f9f RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881cb16d6a8 RBP: ffff8881c48b7da0 R08: ffffed103962dac4 R09: ffffed103962dac4 R10: ffff8881c48b7ca0 R11: ffff8881cb16d61f R12: ffff8881cb16d604 R13: 00000000080e001f R14: 00000000080e001f R15: ffff8881cb16d600 blkdev_put+0x73/0x480 fs/block_dev.c:1958 blkdev_close+0x88/0xd0 fs/block_dev.c:1965 __fput+0x25a/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:0x40fc01 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 84 1a 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fc235690a10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007fc2356916d4 RCX: 000000000040fc01 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000000c R10: 0000000000000064 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000004 R14: 0000000000000005 R15: 0000000000000001 Kernel Offset: disabled Rebooting in 86400 seconds..