bcachefs: bch2_fs_get_tree() error: EPERM
Filesystem bcachefs get_tree() didn't set fc->root, returned 1
------------[ cut here ]------------
kernel BUG at fs/super.c:1810!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 UID: 0 PID: 7096 Comm: syz.4.117 Not tainted 6.11.0-rc7-syzkaller-g5f5673607153 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : vfs_get_tree+0x288/0x28c fs/super.c:1805
lr : vfs_get_tree+0x288/0x28c fs/super.c:1805
sp : ffff8000a2407ac0
x29: ffff8000a2407ac0 x28: 1ffff00014480f64 x27: ffff8000a2407b20
x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000
x23: 1fffe000196ac416 x22: dfff800000000000 x21: ffff0000cb5620b0
x20: 0000000000000001 x19: ffff80008fd35c20 x18: 1fffe000366d79ee
x17: ffff80008f56d000 x16: ffff800083032784 x15: 0000000000000001
x14: 1ffff00014480eac x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000040000 x10: 000000000003ffff x9 : 1d9bdb50d2ccd000
x8 : 1d9bdb50d2ccd000 x7 : ffff8000802b7e24 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800082fbd1a4
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000003e
Call trace:
 vfs_get_tree+0x288/0x28c fs/super.c:1805
 do_new_mount+0x278/0x900 fs/namespace.c:3472
 path_mount+0x590/0xe04 fs/namespace.c:3799
 do_mount fs/namespace.c:3812 [inline]
 __do_sys_mount fs/namespace.c:4020 [inline]
 __se_sys_mount fs/namespace.c:3997 [inline]
 __arm64_sys_mount+0x45c/0x5a8 fs/namespace.c:3997
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598
Code: b0055000 91068000 2a1403e2 95ce924e (d4210000) 
---[ end trace 0000000000000000 ]---