bcachefs: bch2_fs_get_tree() error: EPERM Filesystem bcachefs get_tree() didn't set fc->root ------------[ cut here ]------------ kernel BUG at fs/super.c:1810! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 5550 Comm: syz.4.27 Not tainted 6.11.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:vfs_get_tree+0x29c/0x2a0 fs/super.c:1810 Code: ff 49 8b 1f 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 04 b7 ed ff 48 8b 33 48 c7 c7 20 d3 17 8a e8 15 40 b1 07 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f RSP: 0018:ffffc9000718fd08 EFLAGS: 00010246 RAX: 0000000000000032 RBX: ffffffff8c594d40 RCX: fa11c581ef138100 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff110238d4b96 R08: ffffffff8174eabc R09: 1ffffffff1a7dd35 R10: dffffc0000000000 R11: fffffbfff1a7dd36 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88811c6a5cb0 R15: ffff88811c6a5c98 FS: 00007efd467496c0(0000) GS:ffff8881f5000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6f58561060 CR3: 0000000113590000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_new_mount+0x2be/0xb40 fs/namespace.c:3472 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3997 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efd4597f69a 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:00007efd46748e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007efd46748ef0 RCX: 00007efd4597f69a RDX: 0000000020005d80 RSI: 0000000020000200 RDI: 00007efd46748eb0 RBP: 0000000020005d80 R08: 00007efd46748ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000200 R13: 00007efd46748eb0 R14: 0000000000005da8 R15: 0000000020000280 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vfs_get_tree+0x29c/0x2a0 fs/super.c:1810 Code: ff 49 8b 1f 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 04 b7 ed ff 48 8b 33 48 c7 c7 20 d3 17 8a e8 15 40 b1 07 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f RSP: 0018:ffffc9000718fd08 EFLAGS: 00010246 RAX: 0000000000000032 RBX: ffffffff8c594d40 RCX: fa11c581ef138100 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff110238d4b96 R08: ffffffff8174eabc R09: 1ffffffff1a7dd35 R10: dffffc0000000000 R11: fffffbfff1a7dd36 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88811c6a5cb0 R15: ffff88811c6a5c98 FS: 00007efd467496c0(0000) GS:ffff8881f5000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6f58561060 CR3: 0000000113590000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400