WARNING: CPU: 0 PID: 24106 at block/blk-core.c:586 bio_check_ro block/blk-core.c:584 [inline] WARNING: CPU: 0 PID: 24106 at block/blk-core.c:586 submit_bio_checks+0x11d9/0x1780 block/blk-core.c:697 Modules linked in: CPU: 0 PID: 24106 Comm: syz-executor.5 Not tainted 5.17.0-rc7-syzkaller-00241-gf0e18b03fcaf #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 e0 12 d4 8a 4c 89 ee 31 c0 e8 17 1d 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:ffffc9000447f020 EFLAGS: 00010246 RAX: 5cafe8115dabfa00 RBX: ffff8880118a3ed0 RCX: 0000000000040000 RDX: ffffc90004641000 RSI: 000000000000648d RDI: 000000000000648e RBP: ffffc9000447f150 R08: ffffffff816aed72 R09: ffffed10173467f9 R10: ffffed10173467f9 R11: 0000000000000000 R12: 1ffff1100e9e60f1 R13: ffffc9000447f0c0 R14: ffff888074f30780 R15: ffff888074f30788 FS: 00007fb9161d4700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d590801b8 CR3: 0000000026f23000 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 blkdev_read_iter+0x1cb/0x520 block/fops.c:598 do_iter_readv_writev+0x54f/0x740 do_iter_read+0x206/0x780 fs/read_write.c:786 vfs_readv fs/read_write.c:906 [inline] do_preadv+0x210/0x350 fs/read_write.c:998 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb91785f049 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb9161d4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007fb917971f60 RCX: 00007fb91785f049 RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 RBP: 00007fb9178b908d R08: 0000000000000009 R09: 0000000000000000 R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcabbe2fcf R14: 00007fb9161d4300 R15: 0000000000022000