WARNING: CPU: 1 PID: 2927 at block/blk-core.c:590 bio_check_ro block/blk-core.c:590 [inline] WARNING: CPU: 1 PID: 2927 at block/blk-core.c:590 submit_bio_checks+0x1700/0x1bf0 block/blk-core.c:703 Modules linked in: CPU: 1 PID: 2927 Comm: jbd2/sda1-8 Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bio_check_ro block/blk-core.c:590 [inline] RIP: 0010:submit_bio_checks+0x1700/0x1bf0 block/blk-core.c:703 Code: 00 00 45 0f b6 a4 24 50 05 00 00 48 8d 74 24 60 48 89 ef e8 c2 2b fe ff 48 c7 c7 80 4b 04 8a 48 89 c6 44 89 e2 e8 6f 87 3d 05 <0f> 0b e9 a0 f3 ff ff e8 44 a0 a2 fd e8 cf 60 81 05 31 ff 89 c3 89 RSP: 0018:ffffc9000bfff6b0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888147444fd8 RCX: 0000000000000000 RDX: ffff88807e983a80 RSI: ffffffff815fb548 RDI: fffff520017ffec8 RBP: ffff88802c1ccc80 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815f52fe R11: 0000000000000000 R12: 0000000000000001 R13: ffff88802c1ccc90 R14: ffff8881448ca280 R15: ffff88814744526c FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc1666ba1b8 CR3: 000000007eea7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __submit_bio+0xaf/0x360 block/blk-core.c:802 __submit_bio_noacct_mq block/blk-core.c:881 [inline] submit_bio_noacct block/blk-core.c:907 [inline] submit_bio_noacct+0x6c9/0x8a0 block/blk-core.c:896 submit_bio block/blk-core.c:968 [inline] submit_bio+0x1ea/0x430 block/blk-core.c:926 submit_bh_wbc+0x4e9/0x6b0 fs/buffer.c:3090 submit_bh fs/buffer.c:3096 [inline] write_dirty_buffer fs/buffer.c:3164 [inline] write_dirty_buffer+0xcc/0x180 fs/buffer.c:3155 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/0x6dd0 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