------------[ cut here ]------------ Trying to write to read-only block-device sda1 (partno 1) WARNING: CPU: 0 PID: 19294 at block/blk-core.c:584 bio_check_ro block/blk-core.c:584 [inline] WARNING: CPU: 0 PID: 19294 at block/blk-core.c:584 submit_bio_checks+0x1700/0x1bf0 block/blk-core.c:697 Modules linked in: CPU: 0 PID: 19294 Comm: syz-executor.3 Not tainted 5.17.0-rc8-syzkaller-00003-g56e337f2cf13 #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 f2 4a fe ff 48 c7 c7 40 3d 04 8a 48 89 c6 44 89 e2 e8 a2 88 3f 05 <0f> 0b e9 a0 f3 ff ff e8 94 2a b0 fd e8 af 9b 83 05 31 ff 89 c3 89 RSP: 0018:ffffc9000ad0ede8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88801a95f210 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff815ff5a8 RDI: fffff520015a1daf RBP: ffff88807eacc280 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815f9c3e R11: 0000000000000000 R12: 0000000000000001 R13: ffff88807eacc290 R14: ffff88801a40a280 R15: ffff88801a95f4a4 FS: 00007fdd4359c700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c828000 CR3: 00000000578f6000 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 ext4_io_submit+0x181/0x210 fs/ext4/page-io.c:379 ext4_writepages+0x1450/0x3b90 fs/ext4/inode.c:2798 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 __iomap_dio_rw+0x5d4/0x1ad0 fs/iomap/direct-io.c:561 iomap_dio_rw+0x38/0x90 fs/iomap/direct-io.c:680 ext4_dio_read_iter fs/ext4/file.c:77 [inline] ext4_file_read_iter+0x41c/0x5d0 fs/ext4/file.c:128 call_read_iter include/linux/fs.h:2068 [inline] generic_file_splice_read+0x45b/0x6d0 fs/splice.c:311 do_splice_to+0x1bf/0x250 fs/splice.c:796 splice_direct_to_actor+0x2c2/0x8c0 fs/splice.c:870 do_splice_direct+0x1b3/0x280 fs/splice.c:979 do_sendfile+0xaf2/0x1250 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64 fs/read_write.c:1296 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fdd44c69049 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:00007fdd4359c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fdd44d7c100 RCX: 00007fdd44c69049 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000006 RBP: 00007fdd44cc308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000100000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdcc0aeb2f R14: 00007fdd4359c300 R15: 0000000000022000