WARNING: CPU: 1 PID: 6818 at block/blk-core.c:584 bio_check_ro block/blk-core.c:584 [inline] WARNING: CPU: 1 PID: 6818 at block/blk-core.c:584 submit_bio_checks+0x1700/0x1bf0 block/blk-core.c:697 Modules linked in: CPU: 1 PID: 6818 Comm: syz-executor.2 Not tainted 5.17.0-rc5-syzkaller-00006-g917bbdb107f8 #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+0x1700/0x1bf0 block/blk-core.c:697 Code: 00 00 45 0f b6 a4 24 50 05 00 00 48 8d 74 24 60 48 89 ef e8 e2 46 fe ff 48 c7 c7 00 32 04 8a 48 89 c6 44 89 e2 e8 50 21 40 05 <0f> 0b e9 a0 f3 ff ff e8 94 2f af fd e8 0f 2d 84 05 31 ff 89 c3 89 RSP: 0018:ffffc90009f17110 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8881471e5b40 RCX: 0000000000000000 RDX: ffff88801fa03a00 RSI: ffffffff81601ae8 RDI: fffff520013e2e14 RBP: ffff88802a5c5c80 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815fc17e R11: 0000000000000000 R12: 0000000000000000 R13: ffff88802a5c5c90 R14: ffff888011010000 R15: ffff8881471e5dd4 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003000 CR3: 00000000497eb000 CR4: 0000000000350ef0 Call Trace: __submit_bio+0xaf/0x360 block/blk-core.c:796 __submit_bio_noacct_mq block/blk-core.c:875 [inline] submit_bio_noacct block/blk-core.c:901 [inline] submit_bio_noacct+0x6c9/0x8a0 block/blk-core.c:890 submit_bio block/blk-core.c:962 [inline] submit_bio+0x1ea/0x430 block/blk-core.c:920 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 filemap_fdatawrite_wbc mm/filemap.c:384 [inline] filemap_fdatawrite_wbc+0x143/0x1b0 mm/filemap.c:374 __filemap_fdatawrite_range mm/filemap.c:417 [inline] filemap_write_and_wait_range mm/filemap.c:669 [inline] filemap_write_and_wait_range+0xe1/0x1a0 mm/filemap.c:663 filemap_write_and_wait include/linux/fs.h:2794 [inline] sync_blockdev block/bdev.c:199 [inline] sync_blockdev block/bdev.c:195 [inline] blkdev_put+0x473/0x950 block/bdev.c:900 blkdev_close+0x6a/0x80 block/fops.c:515 __fput+0x286/0x9f0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xb29/0x2a30 kernel/exit.c:806 do_group_exit+0xd2/0x2f0 kernel/exit.c:935 get_signal+0x45a/0x2490 kernel/signal.c:2863 arch_do_signal_or_restart+0x2a9/0x1c40 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+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f10ab7e3059 Code: Unable to access opcode bytes at RIP 0x7f10ab7e302f. RSP: 002b:00007f10aa158218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f10ab8f5f68 RCX: 00007f10ab7e3059 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f10ab8f5f68 RBP: 00007f10ab8f5f60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f10ab8f5f6c R13: 00007ffe932ea4cf R14: 00007f10aa158300 R15: 0000000000022000