bisecting fixing commit since a6ed68d6468bd5a3da78a103344ded1435fed57a building syzkaller on 46869e3ee2274fbf353cb2c7d6cf36ed19e52b45 testing commit a6ed68d6468bd5a3da78a103344ded1435fed57a with gcc (GCC) 8.1.0 kernel signature: 2d0c0fd7367882f6c2a7058640eb6b86218ffee65112692e3df39e591ddca45b all runs: crashed: WARNING in generic_make_request_checks testing current HEAD ae83d0b416db002fe95601e7f97f64b59514d936 testing commit ae83d0b416db002fe95601e7f97f64b59514d936 with gcc (GCC) 8.1.0 kernel signature: c72b1d1e1a682412ddc4d6e0c863ebcf89f8d379e1379d40ccb972255274a5b6 all runs: crashed: WARNING in generic_make_request_checks revisions tested: 2, total time: 18m39.517436478s (build: 11m7.764332477s, test: 6m47.577149948s) the crash still happens on HEAD commit msg: Linux 5.7-rc2 crash: WARNING in generic_make_request_checks ------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 1 PID: 7828 at block/blk-core.c:809 bio_check_ro block/blk-core.c:806 [inline] WARNING: CPU: 1 PID: 7828 at block/blk-core.c:809 generic_make_request_checks+0x1619/0x1d90 block/blk-core.c:910 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 7828 Comm: syz-executor.3 Not tainted 5.7.0-rc2-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/0x4e3 kernel/panic.c:221 __warn.cold.10+0x25/0x2a kernel/panic.c:582 report_bug+0x1b0/0x270 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:175 [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:bio_check_ro block/blk-core.c:806 [inline] RIP: 0010:generic_make_request_checks+0x1619/0x1d90 block/blk-core.c:910 Code: 48 8d b5 78 ff ff ff 4c 89 f7 89 95 48 ff ff ff e8 cc 51 fe ff 8b 95 48 ff ff ff 48 c7 c7 a0 8d 82 87 48 89 c6 e8 af 9b 36 fe <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 80 3c 02 RSP: 0018:ffff88808d7df358 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff11011afbe75 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8a4928e0 RBP: ffff88808d7df450 R08: ffffed1015d666a9 R09: ffffed1015d666a9 R10: ffff8880aeb33547 R11: ffffed1015d666a8 R12: ffff8880a3517040 R13: ffff88808fdfad10 R14: ffff88808fdfad00 R15: ffff88808fdfad08 generic_make_request+0x89/0x9f0 block/blk-core.c:1029 submit_bio+0xe6/0x5b0 block/blk-core.c:1200 submit_bh_wbc+0x5b4/0x7b0 fs/buffer.c:3074 __block_write_full_page+0x621/0xd40 fs/buffer.c:1812 block_write_full_page+0x1b1/0x240 fs/buffer.c:2998 blkdev_writepage+0x13/0x20 fs/block_dev.c:610 __writepage+0x5a/0xd0 mm/page-writeback.c:2303 write_cache_pages+0x5f3/0xec0 mm/page-writeback.c:2238 generic_writepages+0xca/0x130 mm/page-writeback.c:2329 blkdev_writepages+0x9/0x10 fs/block_dev.c:2074 do_writepages+0xca/0x240 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x25f/0x330 mm/filemap.c:421 filemap_write_and_wait_range+0xb2/0x160 mm/filemap.c:654 filemap_write_and_wait include/linux/fs.h:2767 [inline] __sync_blockdev+0x64/0xa0 fs/block_dev.c:492 sync_blockdev fs/block_dev.c:501 [inline] __blkdev_put+0x171/0x680 fs/block_dev.c:1902 blkdev_put+0x73/0x480 fs/block_dev.c:1971 blkdev_close+0x8e/0xd0 fs/block_dev.c:1978 __fput+0x2a7/0x790 fs/file_table.c:280 ____fput+0x9/0x10 fs/file_table.c:313 task_work_run+0xcc/0x160 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x24e/0x2e0 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_32_irqs_on arch/x86/entry/common.c:340 [inline] do_fast_syscall_32+0x927/0xbe0 arch/x86/entry/common.c:396 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7fb3e79 Code: 89 f3 e8 1a 00 00 00 89 d3 eb e0 8b 04 24 c3 8b 1c 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:000000000847fbec EFLAGS: 00000212 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000005 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..