------------[ cut here ]------------ Trying to write to read-only block-device nullb0 (partno 0) WARNING: CPU: 0 PID: 3866 at block/blk-core.c:590 bio_check_ro block/blk-core.c:590 [inline] WARNING: CPU: 0 PID: 3866 at block/blk-core.c:590 submit_bio_checks+0x1700/0x1bf0 block/blk-core.c:703 Modules linked in: CPU: 0 PID: 3866 Comm: kworker/u4:7 Not tainted 5.17.0-rc4-syzkaller-00051-gc5d9ae265b10 #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:590 [inline] RIP: 0010:submit_bio_checks+0x1700/0x1bf0 block/blk-core.c:703 Code: 00 00 45 0f b6 a4 24 50 05 00 00 48 8d 74 24 60 48 89 ef e8 52 46 fe ff 48 c7 c7 80 a8 03 8a 48 89 c6 44 89 e2 e8 16 20 40 05 <0f> 0b e9 a0 f3 ff ff e8 94 ab ae fd e8 df 3f 84 05 31 ff 89 c3 89 RSP: 0018:ffffc90004477018 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88801b0c4540 RCX: 0000000000000000 RDX: ffff88802387e040 RSI: ffffffff815f3dc8 RDI: fffff5200088edf5 RBP: ffff8880275f9dc0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815ee45e R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880275f9dd0 R14: ffff888145e41200 R15: ffff88801b0c47d4 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f14130341d0 CR3: 000000002d306000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __submit_bio+0xaf/0x360 block/blk-core.c:802 __submit_bio_noacct_mq block/blk-core.c:881 [inline] submit_bio_noacct block/blk-core.c:907 [inline] submit_bio_noacct+0x6c9/0x8a0 block/blk-core.c:896 submit_bio block/blk-core.c:968 [inline] submit_bio+0x1ea/0x430 block/blk-core.c:926 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