------------[ 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-rc6-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 c6 3e fe ff 48 c7 c7 a0 76 bf 89 48 89 c6 44 89 e2 e8 09 48 0f 05 <0f> 0b e9 36 f3 ff ff e8 e8 8a c0 fd 0f 0b e9 bf f1 ff ff e8 dc 8a RSP: 0018:ffffc90000e170a8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88801b79e380 RCX: 0000000000000000 RDX: ffff8880118b22c0 RSI: ffffffff815b8145 RDI: fffff520001c2e07 RBP: ffff88801de26c80 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815b0eae R11: 0000000000000000 R12: 0000000000000001 R13: ffff88801de26c90 R14: ffff888017783340 R15: ffff88801b79e88c FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000477920 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:3055 __block_write_full_page+0x86c/0x1340 fs/buffer.c:1810 block_write_full_page+0x14d/0x190 fs/buffer.c:2981 __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