bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) bcachefs (loop0): fatal error - emergency read only ------------[ cut here ]------------ kernel BUG at fs/bcachefs/journal.h:375! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 30 Comm: kworker/u4:2 Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 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 ff 7f 75 fd 90 0f 0b e8 f7 7f 75 fd 90 0f 0b e8 ef 7f 75 fd 90 0f 0b e8 e7 7f 75 fd 90 0f 0b e8 df 7f 75 fd 90 <0f> 0b e8 d7 7f 75 fd 90 0f 0b e8 cf 7f 75 fd 90 0f 0b e8 c7 7f 75 RSP: 0018:ffffc9000050f6c0 EFLAGS: 00010293 RAX: ffffffff841f5a41 RBX: 0000000000000000 RCX: ffff88801dc94880 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000050f890 R08: ffffffff841efd78 R09: 1ffff1100a2794a8 R10: dffffc0000000000 R11: ffffed100a2794a9 R12: ffff888051380000 R13: ffff8880513ca500 R14: 000000000000004f R15: ffff888042c480d0 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffbdc0cd68 CR3: 0000000011d86000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_trans_commit fs/bcachefs/btree_update.h:184 [inline] btree_update_nodes_written fs/bcachefs/btree_update_interior.c:728 [inline] btree_interior_update_work+0x1492/0x2b10 fs/bcachefs/btree_update_interior.c:866 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 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 ff 7f 75 fd 90 0f 0b e8 f7 7f 75 fd 90 0f 0b e8 ef 7f 75 fd 90 0f 0b e8 e7 7f 75 fd 90 0f 0b e8 df 7f 75 fd 90 <0f> 0b e8 d7 7f 75 fd 90 0f 0b e8 cf 7f 75 fd 90 0f 0b e8 c7 7f 75 RSP: 0018:ffffc9000050f6c0 EFLAGS: 00010293 RAX: ffffffff841f5a41 RBX: 0000000000000000 RCX: ffff88801dc94880 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000050f890 R08: ffffffff841efd78 R09: 1ffff1100a2794a8 R10: dffffc0000000000 R11: ffffed100a2794a9 R12: ffff888051380000 R13: ffff8880513ca500 R14: 000000000000004f R15: ffff888042c480d0 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffbdc0cd68 CR3: 000000001ce40000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400