------------[ cut here ]------------ Trying to write to read-only block-device nullb0 (partno 0) WARNING: CPU: 1 PID: 8356 at block/blk-core.c:706 bio_check_ro block/blk-core.c:704 [inline] WARNING: CPU: 1 PID: 8356 at block/blk-core.c:706 submit_bio_checks+0x110b/0x1600 block/blk-core.c:817 Modules linked in: CPU: 1 PID: 8356 Comm: syz-executor043 Not tainted 5.12.0-rc5-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:704 [inline] RIP: 0010:submit_bio_checks+0x110b/0x1600 block/blk-core.c:817 Code: 03 48 b9 00 00 00 00 00 fc ff df 8a 04 08 84 c0 0f 85 e8 04 00 00 0f b6 13 48 c7 c7 60 3a 0f 8a 4c 89 f6 31 c0 e8 05 ee 88 fd <0f> 0b 4c 8b 6c 24 10 49 be 00 00 00 00 00 fc ff df e9 bd f2 ff ff RSP: 0018:ffffc90000edf5d0 EFLAGS: 00010246 RAX: 8680f4924d007b00 RBX: ffff88801a07bf60 RCX: ffff888016f61c40 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90000edf690 R08: ffffffff8160b612 R09: ffffed10173a5fe8 R10: ffffed10173a5fe8 R11: 0000000000000000 R12: ffff88801c8cf148 R13: ffff88801c8cf140 R14: ffffc90000edf630 R15: 1ffff11003919e29 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3be69bf6c0 CR3: 0000000021169000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bio_noacct+0x36/0x1020 block/blk-core.c:1032 submit_bio+0x1a4/0x640 block/blk-core.c:1118 __block_write_full_page+0x8fb/0x10a0 fs/buffer.c:1810 __writepage+0x60/0x120 mm/page-writeback.c:2311 write_cache_pages+0x8b7/0xdc0 mm/page-writeback.c:2246 generic_writepages+0x8f/0xd0 mm/page-writeback.c:2337 do_writepages+0xda/0x1f0 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0x2a4/0x350 mm/filemap.c:424 filemap_write_and_wait_range+0xca/0x160 mm/filemap.c:657 filemap_write_and_wait include/linux/fs.h:2753 [inline] __sync_blockdev fs/block_dev.c:522 [inline] sync_blockdev fs/block_dev.c:531 [inline] __blkdev_put+0x103/0x670 fs/block_dev.c:1572 blkdev_put+0x2cd/0x440 fs/block_dev.c:1641 blkdev_close+0x7a/0xa0 fs/block_dev.c:1649 __fput+0x352/0x7b0 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:140 exit_task_work include/linux/task_work.h:30 [inline] do_exit+0x6b2/0x2290 kernel/exit.c:825 do_group_exit+0x168/0x2d0 kernel/exit.c:922 __do_sys_exit_group+0x13/0x20 kernel/exit.c:933 __se_sys_exit_group+0x10/0x10 kernel/exit.c:931 __x64_sys_exit_group+0x37/0x40 kernel/exit.c:931 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x43da99 Code: Unable to access opcode bytes at RIP 0x43da6f. RSP: 002b:00007ffcc0b74548 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00000000004ae230 RCX: 000000000043da99 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000400488 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004ae230 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001