------------[ cut here ]------------ Trying to write to read-only block-device sda1 (partno 1) WARNING: CPU: 0 PID: 2931 at block/blk-core.c:584 bio_check_ro block/blk-core.c:584 [inline] WARNING: CPU: 0 PID: 2931 at block/blk-core.c:584 submit_bio_checks+0x1700/0x1bf0 block/blk-core.c:697 Modules linked in: CPU: 0 PID: 2931 Comm: jbd2/sda1-8 Not tainted 5.17.0-rc5-syzkaller-00189-g53ab78cd6d5a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bio_check_ro block/blk-core.c:584 [inline] RIP: 0010:submit_bio_checks+0x1700/0x1bf0 block/blk-core.c:697 Code: 00 00 45 0f b6 a4 24 50 05 00 00 48 8d 74 24 60 48 89 ef e8 e2 46 fe ff 48 c7 c7 40 a9 03 8a 48 89 c6 44 89 e2 e8 7d 4b 40 05 <0f> 0b e9 a0 f3 ff ff e8 34 a4 ae fd e8 df 77 84 05 31 ff 89 c3 89 RSP: 0018:ffffc9000c7ff6a8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88801c388580 RCX: 0000000000000000 RDX: ffff88807f2fe100 RSI: ffffffff815f4b38 RDI: fffff520018ffec7 RBP: ffff88807a0b32c0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815ef1ce R11: 0000000000000000 R12: 0000000000000001 R13: ffff88807a0b32d0 R14: ffff8880173d5040 R15: ffff88801c388814 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020272000 CR3: 000000002037f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __submit_bio+0xaf/0x360 block/blk-core.c:796 __submit_bio_noacct_mq block/blk-core.c:875 [inline] submit_bio_noacct block/blk-core.c:901 [inline] submit_bio_noacct+0x6c9/0x8a0 block/blk-core.c:890 submit_bio block/blk-core.c:962 [inline] submit_bio+0x1ea/0x430 block/blk-core.c:920 submit_bh_wbc+0x5e8/0x7e0 fs/buffer.c:3055 submit_bh fs/buffer.c:3061 [inline] write_dirty_buffer fs/buffer.c:3129 [inline] write_dirty_buffer+0xcc/0x180 fs/buffer.c:3120 flush_descriptor fs/jbd2/revoke.c:594 [inline] jbd2_journal_write_revoke_records+0x8c2/0xb20 fs/jbd2/revoke.c:562 jbd2_journal_commit_transaction+0x1359/0x6a80 fs/jbd2/commit.c:583 kjournald2+0x1d0/0x930 fs/jbd2/journal.c:213 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295