------------[ cut here ]------------ Trying to write to read-only block-device nullb0 (partno 0) WARNING: CPU: 1 PID: 8212 at block/blk-core.c:706 bio_check_ro block/blk-core.c:704 [inline] WARNING: CPU: 1 PID: 8212 at block/blk-core.c:706 submit_bio_checks+0x23e/0x800 block/blk-core.c:832 Modules linked in: CPU: 0 PID: 8212 Comm: syz-executor.2 Not tainted 5.10.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:704 [inline] RIP: 0010:submit_bio_checks+0x23e/0x800 block/blk-core.c:832 Code: a2 6c 05 00 00 48 8d 75 b0 48 89 df c6 05 20 60 a7 02 01 e8 14 88 ff ff 48 c7 c7 d8 2e f6 83 48 89 c6 44 89 e2 e8 16 29 36 01 <0f> 0b 48 8b 53 08 8b 43 28 c1 e8 09 85 c0 48 8b 72 40 0f 84 14 ff RSP: 0018:ffffc90002e9f858 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888102374700 RCX: 0000000000000001 RDX: 0000000080000001 RSI: ffffffff8406d2a1 RDI: 00000000ffffffff RBP: ffffc90002e9f8b0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffc90002e9f688 R11: ffffc90002e9f680 R12: 0000000000000000 R13: ffffc90002e9fc08 R14: ffff88810179eea0 R15: ffff88810179eea0 FS: 0000000000000000(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559691292d00 CR3: 000000010e837000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bio_noacct+0x37/0x640 block/blk-core.c:1044 submit_bio+0x3e/0x190 block/blk-core.c:1129 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:518 [inline] __blkdev_put+0x19e/0x220 fs/block_dev.c:1767 blkdev_close+0x1f/0x30 fs/block_dev.c:1851 __fput+0xaa/0x250 fs/file_table.c:281 task_work_run+0x68/0xb0 kernel/task_work.c:151 exit_task_work include/linux/task_work.h:30 [inline] do_exit+0x3aa/0xc80 kernel/exit.c:806 do_group_exit+0x42/0xb0 kernel/exit.c:903 get_signal+0x17c/0xc70 kernel/signal.c:2758 arch_do_signal+0x2b/0x900 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0x1a2/0x220 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x7a/0x2c0 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cba9 Code: Unable to access opcode bytes at RIP 0x45cb7f. RSP: 002b:00007f07ed5a3cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000078bf08 RCX: 000000000045cba9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000078bf08 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffecf084d1f R14: 00007f07ed5a49c0 R15: 000000000078bf0c