bisecting fixing commit since a6ed68d6468bd5a3da78a103344ded1435fed57a building syzkaller on 46869e3ee2274fbf353cb2c7d6cf36ed19e52b45 testing commit a6ed68d6468bd5a3da78a103344ded1435fed57a with gcc (GCC) 8.1.0 kernel signature: c0345a7abd5eb9c8230e0e34aa6cd53ba53ee34141247e123a0829a2e6050df8 all runs: crashed: WARNING in generic_make_request_checks testing current HEAD b85051e755b0e9d6dd8f17ef1da083851b83287d testing commit b85051e755b0e9d6dd8f17ef1da083851b83287d with gcc (GCC) 8.1.0 kernel signature: 5628806c017b0894c2831e11eeea81dafe1688b5ed49fb3e03911d8d2afac5e1 all runs: crashed: WARNING in generic_make_request_checks revisions tested: 2, total time: 19m55.174232437s (build: 11m55.653017835s, test: 7m15.818668212s) the crash still happens on HEAD commit msg: Merge tag 'fixes-for-5.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux crash: WARNING in generic_make_request_checks generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 1 PID: 7855 at block/blk-core.c:809 bio_check_ro block/blk-core.c:806 [inline] WARNING: CPU: 1 PID: 7855 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: 7855 Comm: systemd-udevd Not tainted 5.7.0-rc6-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 20 8c 82 87 48 89 c6 e8 2f a9 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:ffff888096527368 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 1ffff11012ca4e77 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8a4938e0 RBP: ffff888096527460 R08: ffffed1015d666a9 R09: ffffed1015d666a9 R10: ffff8880aeb33547 R11: ffffed1015d666a8 R12: ffff8880a3661040 R13: ffff888099265710 R14: ffff888099265700 R15: ffff888099265708 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:609 __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:2083 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:491 sync_blockdev fs/block_dev.c:500 [inline] __blkdev_put+0x58c/0x6e0 fs/block_dev.c:1903 blkdev_put+0x73/0x480 fs/block_dev.c:1980 blkdev_close+0x8e/0xd0 fs/block_dev.c:1987 __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_64+0x531/0x630 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x7fa2659a2270 Code: 73 01 c3 48 8b 0d 38 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 59 c1 20 00 00 75 10 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ee fb ff ff 48 89 04 24 RSP: 002b:00007ffe55394258 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007fa2659a2270 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007fa26685b710 R08: 00005636b5de66a0 R09: 00005636b5de6400 R10: 00007fa26685b8c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00005636b5dd3960 R14: 0000000000000003 R15: 000000000000000e Kernel Offset: disabled Rebooting in 86400 seconds..