------------[ cut here ]------------ Trying to write to read-only block-device sda1 (partno 1) WARNING: CPU: 0 PID: 10 at block/blk-core.c:701 bio_check_ro block/blk-core.c:701 [inline] WARNING: CPU: 0 PID: 10 at block/blk-core.c:701 submit_bio_checks+0x160c/0x1a80 block/blk-core.c:814 Modules linked in: CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.14.0-rc3-next-20210726-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-8:0) RIP: 0010:bio_check_ro block/blk-core.c:701 [inline] RIP: 0010:submit_bio_checks+0x160c/0x1a80 block/blk-core.c:814 Code: 00 00 45 0f b6 a4 24 58 05 00 00 48 8d 74 24 60 48 89 ef e8 36 48 fe ff 48 c7 c7 c0 d2 e1 89 48 89 c6 44 89 e2 e8 ab 9f 2b 05 <0f> 0b e9 86 f3 ff ff e8 c8 25 b7 fd e8 93 15 6e 05 31 ff 89 c3 89 RSP: 0018:ffffc90000cf70a8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88801ef09ca0 RCX: 0000000000000000 RDX: ffff888010e79c80 RSI: ffffffff815d8f35 RDI: fffff5200019ee07 RBP: ffff888012d9a8c0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815d29be R11: 0000000000000000 R12: 0000000000000001 R13: ffff888012d9a8d0 R14: ffff88801a8d8000 R15: ffff88801ef0a214 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005647f0000948 CR3: 00000000164c3000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bio_noacct+0x81/0xf20 block/blk-core.c:1029 submit_bio+0x1ea/0x470 block/blk-core.c:1106 ext4_io_submit+0x181/0x210 fs/ext4/page-io.c:379 ext4_writepages+0x1452/0x3ba0 fs/ext4/inode.c:2820 do_writepages+0x1ab/0x770 mm/page-writeback.c:2359 __writeback_single_inode+0x126/0xff0 fs/fs-writeback.c:1616 writeback_sb_inodes+0x53d/0xf00 fs/fs-writeback.c:1881 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1950 wb_writeback+0x7f8/0xc30 fs/fs-writeback.c:2055 wb_check_old_data_flush fs/fs-writeback.c:2155 [inline] wb_do_writeback fs/fs-writeback.c:2208 [inline] wb_workfn+0x8cf/0x12d0 fs/fs-writeback.c:2237 process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295