bcachefs (loop3): bch2_write_super(): fatal error  loop3: Superblock write was silently dropped! (seq 0 expected 53)
bcachefs (loop3): fatal error - emergency read only
------------[ cut here ]------------
kernel BUG at fs/bcachefs/journal.h:375!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 191 Comm: kworker/u8:5 Not tainted 6.12.0-rc7-syzkaller-00042-gf1b785f4c787 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Workqueue: btree_update btree_interior_update_work
RIP: 0010:bch2_journal_res_get fs/bcachefs/journal.h:375 [inline]
RIP: 0010:bch2_trans_journal_res_get fs/bcachefs/btree_trans_commit.c:350 [inline]
RIP: 0010:bch2_trans_commit_write_locked fs/bcachefs/btree_trans_commit.c:668 [inline]
RIP: 0010:do_bch2_trans_commit fs/bcachefs/btree_trans_commit.c:900 [inline]
RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 fs/bcachefs/btree_trans_commit.c:1121
Code: fd 90 0f 0b e8 8f 67 78 fd 90 0f 0b e8 87 67 78 fd 90 0f 0b e8 7f 67 78 fd 90 0f 0b e8 77 67 78 fd 90 0f 0b e8 6f 67 78 fd 90 <0f> 0b e8 67 67 78 fd 90 0f 0b e8 5f 67 78 fd 90 0f 0b e8 57 67 78
RSP: 0018:ffffc90002f3f6c0 EFLAGS: 00010293
RAX: ffffffff841c8241 RBX: 0000000000000000 RCX: ffff888020b88000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002f3f890 R08: ffffffff841c2578 R09: 1ffff1100d9194a8
R10: dffffc0000000000 R11: ffffed100d9194a9 R12: ffff88806c880000
R13: ffff88806c8ca500 R14: 0000000000000044 R15: ffff8880595ec0d0
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005589a505b188 CR3: 000000002c7ae000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bch2_trans_commit fs/bcachefs/btree_update.h:184 [inline]
 btree_update_nodes_written fs/bcachefs/btree_update_interior.c:723 [inline]
 btree_interior_update_work+0x1492/0x2b10 fs/bcachefs/btree_update_interior.c:861
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:bch2_journal_res_get fs/bcachefs/journal.h:375 [inline]
RIP: 0010:bch2_trans_journal_res_get fs/bcachefs/btree_trans_commit.c:350 [inline]
RIP: 0010:bch2_trans_commit_write_locked fs/bcachefs/btree_trans_commit.c:668 [inline]
RIP: 0010:do_bch2_trans_commit fs/bcachefs/btree_trans_commit.c:900 [inline]
RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 fs/bcachefs/btree_trans_commit.c:1121
Code: fd 90 0f 0b e8 8f 67 78 fd 90 0f 0b e8 87 67 78 fd 90 0f 0b e8 7f 67 78 fd 90 0f 0b e8 77 67 78 fd 90 0f 0b e8 6f 67 78 fd 90 <0f> 0b e8 67 67 78 fd 90 0f 0b e8 5f 67 78 fd 90 0f 0b e8 57 67 78
RSP: 0018:ffffc90002f3f6c0 EFLAGS: 00010293
RAX: ffffffff841c8241 RBX: 0000000000000000 RCX: ffff888020b88000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002f3f890 R08: ffffffff841c2578 R09: 1ffff1100d9194a8
R10: dffffc0000000000 R11: ffffed100d9194a9 R12: ffff88806c880000
R13: ffff88806c8ca500 R14: 0000000000000044 R15: ffff8880595ec0d0
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7d75d115e8 CR3: 000000000e734000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400