bisecting fixing commit since 7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf building syzkaller on 510951950dc0ee69cfdaf746061d3dbe31b49fd8 testing commit 7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf with gcc (GCC) 8.1.0 kernel signature: dd5bcac7cc69ce310218a7047caa021b7c1d910e1bc1c63dcba8123abee9efe9 all runs: crashed: WARNING in generic_make_request_checks testing current HEAD 71c061d2443814de15e177489d5cc00a4a253ef3 testing commit 71c061d2443814de15e177489d5cc00a4a253ef3 with gcc (GCC) 8.1.0 kernel signature: db915902fcf307b27440daf12751a8ccc12555ffe204e28c1ac9e30183e8ddd1 all runs: crashed: WARNING in submit_bio_checks revisions tested: 2, total time: 15m57.752691748s (build: 10m2.515619843s, test: 5m17.639663966s) the crash still happens on HEAD commit msg: Merge tag 'for-5.11-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux crash: WARNING in submit_bio_checks ------------[ cut here ]------------ Trying to write to read-only block-device nullb0 (partno 0) WARNING: CPU: 1 PID: 7416 at block/blk-core.c:707 bio_check_ro block/blk-core.c:705 [inline] WARNING: CPU: 1 PID: 7416 at block/blk-core.c:707 submit_bio_checks+0x236/0x800 block/blk-core.c:834 Modules linked in: CPU: 1 PID: 7416 Comm: syz-executor.0 Not tainted 5.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bio_check_ro block/blk-core.c:705 [inline] RIP: 0010:submit_bio_checks+0x236/0x800 block/blk-core.c:834 Code: a2 e0 05 00 00 48 8d 75 b0 48 89 df c6 05 34 ca c5 02 01 e8 6c 93 ff ff 48 c7 c7 e0 48 f7 83 48 89 c6 44 89 e2 e8 2c cf 39 01 <0f> 0b 48 8b 43 08 48 8b 50 38 8b 43 28 c1 e8 09 48 8b 52 28 48 8b RSP: 0018:ffffc90002083828 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888114e09800 RCX: 0000000000000001 RDX: 0000000080000001 RSI: ffffffff84080839 RDI: 00000000ffffffff RBP: ffffc90002083880 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 7420676e69797254 R12: 0000000000000000 R13: ffffc90002083be0 R14: ffff8881051faea0 R15: ffff8881051faea0 FS: 0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f39ca507000 CR3: 000000010984a003 CR4: 00000000001706e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bio_noacct+0x37/0x640 block/blk-core.c:1046 submit_bio+0x3e/0x180 block/blk-core.c:1131 submit_bh_wbc+0x168/0x190 fs/buffer.c:3054 __block_write_full_page+0x225/0x5b0 fs/buffer.c:1810 __writepage+0xe/0x60 mm/page-writeback.c:2311 write_cache_pages+0x221/0x540 mm/page-writeback.c:2246 generic_writepages+0x54/0x90 mm/page-writeback.c:2337 do_writepages+0x39/0xe0 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0xc2/0x100 mm/filemap.c:422 filemap_write_and_wait_range+0x36/0x90 mm/filemap.c:655 sync_blockdev fs/block_dev.c:514 [inline] __blkdev_put+0x193/0x1b0 fs/block_dev.c:1552 blkdev_put+0x4b/0x130 fs/block_dev.c:1621 blkdev_close+0x1f/0x30 fs/block_dev.c:1629 __fput+0xa1/0x250 fs/file_table.c:280 task_work_run+0x68/0xb0 kernel/task_work.c:140 exit_task_work include/linux/task_work.h:30 [inline] do_exit+0x45c/0xd40 kernel/exit.c:825 do_group_exit+0x42/0xb0 kernel/exit.c:922 get_signal+0x151/0xc40 kernel/signal.c:2770 arch_do_signal_or_restart+0xaa/0x8f0 arch/x86/kernel/signal.c:811 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x1b7/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x40/0x80 kernel/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cba9 Code: Unable to access opcode bytes at RIP 0x45cb7f. RSP: 002b:00007fa6998f5cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 000000000078bfa8 RCX: 000000000045cba9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000078bfac RBP: 000000000078bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bfac R13: 00007ffc5a13cacf R14: 00007fa6998f69c0 R15: 000000000078bfac