------------[ cut here ]------------ Trying to write to read-only block-device nullb0 (partno 0) WARNING: CPU: 1 PID: 54 at block/blk-core.c:584 bio_check_ro block/blk-core.c:584 [inline] WARNING: CPU: 1 PID: 54 at block/blk-core.c:584 submit_bio_checks+0x1700/0x1bf0 block/blk-core.c:697 Modules linked in: CPU: 1 PID: 54 Comm: kworker/u4:3 Not tainted 5.17.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-250:0) RIP: 0010:bio_check_ro block/blk-core.c:584 [inline] RIP: 0010:submit_bio_checks+0x1700/0x1bf0 block/blk-core.c:697 Code: 00 00 45 0f b6 a4 24 50 05 00 00 48 8d 74 24 60 48 89 ef e8 f2 4a fe ff 48 c7 c7 40 a8 03 8a 48 89 c6 44 89 e2 e8 ef 7f 3f 05 <0f> 0b e9 a0 f3 ff ff e8 a4 9d af fd e8 2f ac 83 05 31 ff 89 c3 89 RSP: 0018:ffffc90001a37018 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88801b54d0e8 RCX: 0000000000000000 RDX: ffff888012be61c0 RSI: ffffffff815f15d8 RDI: fffff52000346df5 RBP: ffff88807451ac80 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815ebc6e R11: 0000000000000000 R12: 0000000000000000 R13: ffff88807451ac90 R14: ffff88801731a400 R15: ffff88801b54d37c FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000004621a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __submit_bio+0xaf/0x360 block/blk-core.c:796 __submit_bio_noacct_mq block/blk-core.c:875 [inline] submit_bio_noacct block/blk-core.c:901 [inline] submit_bio_noacct+0x6c9/0x8a0 block/blk-core.c:890 submit_bio block/blk-core.c:962 [inline] submit_bio+0x1ea/0x430 block/blk-core.c:920 submit_bh_wbc+0x5e8/0x7e0 fs/buffer.c:3055 __block_write_full_page+0x8bb/0x13a0 fs/buffer.c:1809 block_write_full_page+0x14d/0x190 fs/buffer.c:2981 __writepage+0x60/0x180 mm/page-writeback.c:2320 write_cache_pages+0x6f4/0x10c0 mm/page-writeback.c:2255 generic_writepages mm/page-writeback.c:2346 [inline] generic_writepages+0xe2/0x150 mm/page-writeback.c:2335 do_writepages+0x1ab/0x690 mm/page-writeback.c:2364 __writeback_single_inode+0x126/0x10d0 fs/fs-writeback.c:1618 writeback_sb_inodes+0x53d/0xf30 fs/fs-writeback.c:1891 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1961 wb_writeback+0x7f8/0xc30 fs/fs-writeback.c:2066 wb_check_old_data_flush fs/fs-writeback.c:2166 [inline] wb_do_writeback fs/fs-writeback.c:2219 [inline] wb_workfn+0x8cf/0x12d0 fs/fs-writeback.c:2248 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295