------------[ cut here ]------------ Trying to write to read-only block-device sda1 (partno 1) WARNING: CPU: 0 PID: 9 at block/blk-core.c:704 bio_check_ro block/blk-core.c:704 [inline] WARNING: CPU: 0 PID: 9 at block/blk-core.c:704 submit_bio_checks+0x1627/0x1aa0 block/blk-core.c:817 Modules linked in: CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 5.12.0-rc6-next-20210409-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+0x1627/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 eb 3e fe ff 48 c7 c7 e0 8c c0 89 48 89 c6 44 89 e2 e8 86 35 17 05 <0f> 0b e9 6b f3 ff ff e8 3d eb bc fd e8 78 40 58 05 31 ff 89 c3 89 RSP: 0018:ffffc90000ce70a8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88801b211bc0 RCX: 0000000000000000 RDX: ffff888011ba0000 RSI: ffffffff815c3165 RDI: fffff5200019ce07 RBP: ffff8880173b8000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815bcfae R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880173b8010 R14: ffff888142115c00 R15: ffff88801b2120c4 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005579533bb908 CR3: 000000000bc8e000 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:3112 __block_write_full_page+0x86c/0x1340 fs/buffer.c:1867 block_write_full_page+0x14d/0x190 fs/buffer.c:3038 __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/0xff0 fs/fs-writeback.c:1467 writeback_sb_inodes+0x53d/0xf00 fs/fs-writeback.c:1732 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1801 wb_writeback+0x814/0xc50 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+0x8cf/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