bcachefs (loop0): shutting down bcachefs (loop0): going read-only bcachefs (loop0): finished waiting for writes to stop bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 12 bcachefs (loop0): unshutdown complete, journal seq 13 bcachefs (loop0): done going read-only, filesystem not clean bcachefs (loop0): shutdown complete invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 0 PID: 3811 Comm: syz.0.19 Not tainted 6.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:bch2_fs_btree_cache_exit+0x388/0x390 fs/bcachefs/btree_cache.c:444 Code: 49 8b 84 24 d8 19 00 00 48 01 e8 eb a4 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 0f 0b 90 0f 0b 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90006453ba0 EFLAGS: 00010202 RAX: 0000100000000000 RBX: ffff888111fcf800 RCX: ffff88817860f628 RDX: ffff88817860f628 RSI: ffff888111fcfa28 RDI: ffff888111fcfa28 RBP: ffff88816e681c68 R08: 0000000000080001 R09: ffffffff81aaefe2 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88816e680000 R13: ffff88817c794a28 R14: ffff88816e681c68 R15: ffff88816e681a70 FS: 00007f17afd536c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff1e36f8cd8 CR3: 0000000111fc0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bch2_fs_free fs/bcachefs/super.c:565 [inline] bch2_fs_release+0x1d2/0x3b0 fs/bcachefs/super.c:612 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x8e/0x190 lib/kobject.c:737 deactivate_locked_super+0x33/0x150 fs/super.c:472 bch2_mount+0x4a1/0x5c0 fs/bcachefs/fs.c:2004 legacy_get_tree+0x2d/0x60 fs/fs_context.c:662 vfs_get_tree+0x24/0xb0 fs/super.c:1779 do_new_mount+0x15a/0x3a0 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x14b/0x1c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8f/0x1a0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f17aef7f79a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f17afd52e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f17afd52ef0 RCX: 00007f17aef7f79a RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007f17afd52eb0 RBP: 00000000200000c0 R08: 00007f17afd52ef0 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000000 R13: 00007f17afd52eb0 R14: 0000000000005944 R15: 0000000020000200 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bch2_fs_btree_cache_exit+0x388/0x390 fs/bcachefs/btree_cache.c:444 Code: 49 8b 84 24 d8 19 00 00 48 01 e8 eb a4 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 0f 0b 90 0f 0b 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90006453ba0 EFLAGS: 00010202 RAX: 0000100000000000 RBX: ffff888111fcf800 RCX: ffff88817860f628 RDX: ffff88817860f628 RSI: ffff888111fcfa28 RDI: ffff888111fcfa28 RBP: ffff88816e681c68 R08: 0000000000080001 R09: ffffffff81aaefe2 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88816e680000 R13: ffff88817c794a28 R14: ffff88816e681c68 R15: ffff88816e681a70 FS: 00007f17afd536c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff1e36f8cd8 CR3: 0000000111fc0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400