------------[ cut here ]------------ Trying to write to read-only block-device nullb0 (partno 0) WARNING: CPU: 0 PID: 7373 at block/blk-core.c:703 bio_check_ro block/blk-core.c:703 [inline] WARNING: CPU: 0 PID: 7373 at block/blk-core.c:703 submit_bio_checks+0x7de/0x1640 block/blk-core.c:816 Modules linked in: CPU: 0 PID: 7373 Comm: syz-executor.0 Not tainted 5.13.0-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:703 [inline] RIP: 0010:submit_bio_checks+0x7de/0x1640 block/blk-core.c:816 Code: b6 90 50 05 00 00 48 8d 74 24 58 4c 89 ff 89 54 24 08 e8 15 7a fe ff 8b 54 24 08 48 c7 c7 60 c1 11 88 48 89 c6 e8 a7 1b 0a 04 <0f> 0b e9 22 fb ff ff 48 b8 00 00 00 00 00 fc ff df 48 8b 14 24 48 RSP: 0018:ffffc900046972b8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff920008d2e5e RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8813ab20 RDI: fffff520008d2e49 RBP: ffff88810d0fa080 R08: 0000000000000001 R09: ffff8881f6430e07 R10: ffffed103ec861c0 R11: 7420676e69797254 R12: ffff8881134ce690 R13: ffff88810d0fa5f4 R14: ffff88810cd6b340 R15: ffff8881134ce680 FS: 0000000000000000(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561ab9c73c40 CR3: 0000000103049005 CR4: 00000000001706f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bio_noacct+0x79/0xdb0 block/blk-core.c:1031 submit_bio+0xcc/0x3a0 block/blk-core.c:1108 submit_bh_wbc+0x4e9/0x6a0 fs/buffer.c:3050 __block_write_full_page+0x614/0xdd0 fs/buffer.c:1805 __writepage+0x58/0x140 mm/page-writeback.c:2314 write_cache_pages+0x52b/0xd00 mm/page-writeback.c:2249 generic_writepages mm/page-writeback.c:2340 [inline] generic_writepages+0xd7/0x140 mm/page-writeback.c:2329 do_writepages+0xca/0x240 mm/page-writeback.c:2355 __filemap_fdatawrite_range+0x247/0x320 mm/filemap.c:413 filemap_write_and_wait_range mm/filemap.c:686 [inline] filemap_write_and_wait_range+0x4b/0xa0 mm/filemap.c:680 filemap_write_and_wait include/linux/fs.h:2892 [inline] __sync_blockdev fs/block_dev.c:526 [inline] sync_blockdev fs/block_dev.c:535 [inline] blkdev_put+0x66d/0x950 fs/block_dev.c:1530 blkdev_close+0x8b/0xd0 fs/block_dev.c:1584 __fput+0x209/0x870 fs/file_table.c:280 task_work_run+0xc0/0x160 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xaa0/0x25a0 kernel/exit.c:825 do_group_exit+0xe7/0x290 kernel/exit.c:922 get_signal+0x3c0/0x1b60 kernel/signal.c:2796 arch_do_signal_or_restart+0x2a9/0x1f80 arch/x86/kernel/signal.c:789 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+0x20e/0x280 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x40/0x70 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4645a9 Code: Unable to access opcode bytes at RIP 0x46457f. RSP: 002b:00007f7a6407a218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 000000000055bf08 RCX: 00000000004645a9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000055bf08 RBP: 000000000055bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055bf0c R13: 00007ffd5dc268ef R14: 00007f7a6407a300 R15: 0000000000022000 irq event stamp: 6709 hardirqs last enabled at (6721): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1319 [inline] hardirqs last enabled at (6721): [] finish_lock_switch kernel/sched/core.c:4437 [inline] hardirqs last enabled at (6721): [] finish_task_switch.isra.0+0x224/0x980 kernel/sched/core.c:4555 hardirqs last disabled at (6746): [] __schedule+0x1162/0x2190 kernel/sched/core.c:5836 softirqs last enabled at (6838): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last enabled at (6838): [] __irq_exit_rcu kernel/softirq.c:636 [inline] softirqs last enabled at (6838): [] irq_exit_rcu+0x229/0x270 kernel/softirq.c:648 softirqs last disabled at (6851): [] invoke_softirq kernel/softirq.c:432 [inline] softirqs last disabled at (6851): [] __irq_exit_rcu kernel/softirq.c:636 [inline] softirqs last disabled at (6851): [] irq_exit_rcu+0x229/0x270 kernel/softirq.c:648 ---[ end trace f95acf4a42ca000b ]---