WARNING: CPU: 0 PID: 20039 at block/blk-core.c:581 bio_check_ro block/blk-core.c:581 [inline] WARNING: CPU: 0 PID: 20039 at block/blk-core.c:581 submit_bio_noacct+0x16f3/0x1be0 block/blk-core.c:810 Modules linked in: CPU: 0 PID: 20039 Comm: syz-executor.5 Not tainted 5.17.0-rc6-next-20220303-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:581 [inline] RIP: 0010:submit_bio_noacct+0x16f3/0x1be0 block/blk-core.c:810 Code: 00 00 45 0f b6 a4 24 50 05 00 00 48 8d 74 24 60 48 89 ef e8 cf 1f fe ff 48 c7 c7 e0 93 24 8a 48 89 c6 44 89 e2 e8 c9 6e 41 05 <0f> 0b e9 91 f3 ff ff e8 41 96 a1 fd e8 6c bf 85 05 31 ff 89 c3 89 RSP: 0018:ffffc900089df280 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88801bbff260 RCX: 0000000000000000 RDX: ffff888028821d40 RSI: ffffffff81602878 RDI: fffff5200113be42 RBP: ffff88807770f280 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815fd23e R11: 0000000000000000 R12: 0000000000000000 R13: ffff88807770f290 R14: ffff888140c9b980 R15: 1ffff9200113be58 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12887691b8 CR3: 0000000026a08000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bio block/blk-core.c:941 [inline] submit_bio+0x1a0/0x350 block/blk-core.c:905 submit_bh_wbc+0x4e9/0x6b0 fs/buffer.c:3090 __block_write_full_page+0x8ee/0x1e00 fs/buffer.c:1846 block_write_full_page+0x14d/0x190 fs/buffer.c:3018 __writepage+0x60/0x180 mm/page-writeback.c:2391 write_cache_pages+0x79f/0x1a50 mm/page-writeback.c:2326 generic_writepages mm/page-writeback.c:2417 [inline] generic_writepages+0xe2/0x150 mm/page-writeback.c:2406 do_writepages+0x1ab/0x690 mm/page-writeback.c:2435 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/pagemap.h:60 [inline] sync_blockdev block/bdev.c:199 [inline] sync_blockdev block/bdev.c:195 [inline] blkdev_put+0x473/0x950 block/bdev.c:903 blkdev_close+0x6a/0x80 block/fops.c:514 __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+0xafa/0x2a30 kernel/exit.c:792 do_group_exit+0xd2/0x2f0 kernel/exit.c:922 get_signal+0x4b0/0x28c0 kernel/signal.c:2863 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:149 [inline] exit_to_user_mode_loop kernel/entry/common.c:173 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc810289049 Code: Unable to access opcode bytes at RIP 0x7fc81028901f. RSP: 002b:00007fc8114a3218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007fc81039bf68 RCX: 00007fc810289049 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fc81039bf6c RBP: 00007fc81039bf60 R08: 00007ffc3d174080 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc81039bf6c R13: 00007ffc3d1078af R14: 00007fc8114a3300 R15: 0000000000022000