------------[ cut here ]------------ Trying to write to read-only block-device sda1 (partno 1) WARNING: CPU: 0 PID: 8401 at block/blk-core.c:707 bio_check_ro block/blk-core.c:705 [inline] WARNING: CPU: 0 PID: 8401 at block/blk-core.c:707 blk_partition_remap block/blk-core.c:755 [inline] WARNING: CPU: 0 PID: 8401 at block/blk-core.c:707 submit_bio_checks+0x1448/0x1a50 block/blk-core.c:831 Modules linked in: CPU: 0 PID: 8401 Comm: kworker/u4:9 Not tainted 5.11.0-rc7-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:705 [inline] RIP: 0010:blk_partition_remap block/blk-core.c:755 [inline] RIP: 0010:submit_bio_checks+0x1448/0x1a50 block/blk-core.c:831 Code: e0 05 00 00 48 89 d8 48 c1 e8 03 8a 04 08 84 c0 0f 85 e7 05 00 00 0f b6 13 48 c7 c7 60 75 0b 8a 4c 89 f6 31 c0 e8 38 eb 93 fd <0f> 0b e9 0f f1 ff ff e8 cc 77 c4 fd c6 05 e0 46 ed 09 01 48 8d 74 RSP: 0018:ffffc90001bcf350 EFLAGS: 00010246 RAX: 7b9d9787221bde00 RBX: ffff88801a5c2860 RCX: ffff888011fab780 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90001bcf400 R08: ffffffff815fb522 R09: ffffed10173860b8 R10: ffffed10173860b8 R11: 0000000000000000 R12: ffff88801a5c2280 R13: ffff88801e8968c0 R14: ffffc90001bcf3a0 R15: ffff88801e8968e8 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e4088d1630 CR3: 0000000019f07000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bio_noacct+0x36/0xf70 block/blk-core.c:1046 submit_bio+0x1a4/0x610 block/blk-core.c:1131 __block_write_full_page+0x8fb/0x1080 fs/buffer.c:1810 __writepage+0x60/0x120 mm/page-writeback.c:2311 write_cache_pages+0x8b7/0xdb0 mm/page-writeback.c:2246 generic_writepages+0x8f/0xd0 mm/page-writeback.c:2337 do_writepages+0xda/0x1f0 mm/page-writeback.c:2352 __writeback_single_inode+0xd4/0x5f0 fs/fs-writeback.c:1461 writeback_sb_inodes+0x919/0x17e0 fs/fs-writeback.c:1723 __writeback_inodes_wb fs/fs-writeback.c:1792 [inline] wb_writeback+0x483/0x900 fs/fs-writeback.c:1898 wb_check_old_data_flush fs/fs-writeback.c:2000 [inline] wb_do_writeback fs/fs-writeback.c:2053 [inline] wb_workfn+0x96d/0x1200 fs/fs-writeback.c:2082 process_one_work+0x789/0xfc0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296