------------[ cut here ]------------ Trying to write to read-only block-device sda1 (partno 1) WARNING: CPU: 1 PID: 25 at block/blk-core.c:704 bio_check_ro block/blk-core.c:704 [inline] WARNING: CPU: 1 PID: 25 at block/blk-core.c:704 submit_bio_checks+0x165c/0x1aa0 block/blk-core.c:817 Modules linked in: CPU: 1 PID: 25 Comm: kworker/u4:1 Not tainted 5.12.0-rc4-next-20210326-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:704 [inline] RIP: 0010:submit_bio_checks+0x165c/0x1aa0 block/blk-core.c:817 Code: 00 00 45 0f b6 a4 24 e0 05 00 00 48 8d 74 24 60 48 89 ef e8 a6 3f fe ff 48 c7 c7 00 6d c0 89 48 89 c6 44 89 e2 e8 b7 a9 14 05 <0f> 0b e9 36 f3 ff ff e8 58 59 be fd 0f 0b e9 bf f1 ff ff e8 4c 59 RSP: 0018:ffffc90000dff0a8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8881433829b8 RCX: 0000000000000000 RDX: ffff888011c43900 RSI: ffffffff815c3fd5 RDI: fffff520001bfe07 RBP: ffff8880235ee000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815bd77e R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880235ee010 R14: ffff88801aa30b80 R15: ffff888143382ec4 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559929eb3908 CR3: 000000001515b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bio_noacct+0x81/0xf20 block/blk-core.c:1032 submit_bio+0x263/0x5e0 block/blk-core.c:1118 submit_bh_wbc+0x5eb/0x7f0 fs/buffer.c:3088 __block_write_full_page+0x86c/0x1340 fs/buffer.c:1843 block_write_full_page+0x14d/0x190 fs/buffer.c:3014 __writepage+0x60/0x180 mm/page-writeback.c:2311 write_cache_pages+0x759/0x11a0 mm/page-writeback.c:2246 generic_writepages mm/page-writeback.c:2337 [inline] generic_writepages+0xe2/0x150 mm/page-writeback.c:2326 do_writepages+0xec/0x290 mm/page-writeback.c:2352 __writeback_single_inode+0x126/0xfd0 fs/fs-writeback.c:1467 writeback_sb_inodes+0x53d/0xef0 fs/fs-writeback.c:1732 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1801 wb_writeback+0x814/0xc40 fs/fs-writeback.c:1907 wb_check_old_data_flush fs/fs-writeback.c:2009 [inline] wb_do_writeback fs/fs-writeback.c:2062 [inline] wb_workfn+0x891/0x12d0 fs/fs-writeback.c:2091 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294