------------[ cut here ]------------ Trying to write to read-only block-device nullb0 (partno 0) WARNING: CPU: 1 PID: 9590 at block/blk-core.c:586 bio_check_ro block/blk-core.c:584 [inline] WARNING: CPU: 1 PID: 9590 at block/blk-core.c:586 submit_bio_checks+0x11d9/0x1780 block/blk-core.c:697 Modules linked in: CPU: 1 PID: 9590 Comm: syz-executor.2 Not tainted 5.17.0-rc7-syzkaller-00064-g330f4c53d3c2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bio_check_ro block/blk-core.c:584 [inline] RIP: 0010:submit_bio_checks+0x11d9/0x1780 block/blk-core.c:697 Code: 03 48 b9 00 00 00 00 00 fc ff df 8a 04 08 84 c0 0f 85 96 05 00 00 0f b6 13 48 c7 c7 60 10 d4 8a 4c 89 ee 31 c0 e8 f7 17 4c fd <0f> 0b 49 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 30 e9 50 f3 ff ff RSP: 0018:ffffc9001052edc0 EFLAGS: 00010246 RAX: 87e3069ee4668500 RBX: ffff88801a9627d0 RCX: ffff888040fa1d00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9001052eef0 R08: ffffffff816add92 R09: ffffed10173667f9 R10: ffffed10173667f9 R11: 0000000000000000 R12: 1ffff11003e1ba51 R13: ffffc9001052ee60 R14: ffff88801f0dd280 R15: ffff88801f0dd288 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04232571b8 CR3: 0000000022e04000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __submit_bio+0xad/0x2f0 block/blk-core.c:796 __submit_bio_noacct_mq block/blk-core.c:875 [inline] submit_bio_noacct+0x844/0x9e0 block/blk-core.c:901 submit_bio+0x2d2/0x520 block/blk-core.c:962 __block_write_full_page+0x8fb/0x1090 fs/buffer.c:1809 __writepage+0x60/0x120 mm/page-writeback.c:2320 write_cache_pages+0x8aa/0xe30 mm/page-writeback.c:2255 generic_writepages+0xfb/0x160 mm/page-writeback.c:2346 do_writepages+0x3c3/0x690 mm/page-writeback.c:2364 filemap_fdatawrite_wbc+0x11e/0x170 mm/filemap.c:384 __filemap_fdatawrite_range mm/filemap.c:417 [inline] filemap_write_and_wait_range+0x1b4/0x2a0 mm/filemap.c:669 filemap_write_and_wait include/linux/fs.h:2794 [inline] sync_blockdev block/bdev.c:199 [inline] blkdev_put+0xde/0x7a0 block/bdev.c:900 blkdev_close+0x58/0x80 block/fops.c:517 __fput+0x3fc/0x870 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x63b/0x22f0 kernel/exit.c:806 do_group_exit+0x2af/0x2b0 kernel/exit.c:935 get_signal+0x1831/0x2330 kernel/signal.c:2863 arch_do_signal_or_restart+0x9c/0x730 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x191/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f2b079c4049 Code: Unable to access opcode bytes at RIP 0x7f2b079c401f. RSP: 002b:00007f2b06339218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f2b07ad6f68 RCX: 00007f2b079c4049 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2b07ad6f68 RBP: 00007f2b07ad6f60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2b07ad6f6c R13: 00007ffc83ca1a8f R14: 00007f2b06339300 R15: 0000000000022000