bcachefs (loop0): alloc_read... done bcachefs (loop0): stripes_read... done bcachefs (loop0): snapshots_read... done bcachefs (loop0): done starting filesystem bcachefs (loop0): btree_path_down(): fatal error node not found at pos 536870912:2049:U32_MAX within parent node u64s 5 type btree_ptr SPOS_MAX len 0 ver 0 bcachefs (loop0): fatal error - emergency read only bcachefs (loop0): dirent points to inode that does not point back: u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir inum: 4098:4294967295 mode=40755 flags=(15300000) journal_seq=4 hash_seed=ece93825deac2443 hash_type=siphash bi_size=0 bi_sectors=0 bi_version=0 bi_atime=2770562249 bi_ctime=2780562352 bi_mtime=2780562352 bi_otime=2770562249 bi_uid=0 bi_gid=0 bi_nlink=0 bi_generation=0 bi_dev=0 bi_data_checksum=0 bi_compression=0 bi_project=0 bi_background_compression=0 bi_data_replicas=0 bi_promote_target=0 bi_foreground_target=0 bi_background_target=0 bi_erasure_code=0 bi_fields_set=0 bi_dir=4096 bi_dir_offset=189491839680643079 bi_subvol=0 bi_parent_subvol=0 bi_nocow=0 bi_depth=0 bi_inodes_32bit=0 bcachefs (loop0): btree_path_down(): fatal error node not found at pos 536870912:1:U32_MAX within parent node u64s 5 type btree_ptr SPOS_MAX len 0 ver 0 bcachefs (loop0): (disconnected) offset 0: read error -2302 from btree lookup bcachefs (loop0): btree_path_down(): fatal error node not found at pos 536870912:1:U32_MAX within parent node u64s 5 type btree_ptr SPOS_MAX len 0 ver 0 bcachefs (loop0): (disconnected) offset 0: read error -2302 from btree lookup netlink: 'syz.0.0': attribute type 1 has an invalid length. netlink: 224 bytes leftover after parsing attributes in process `syz.0.0'. bcachefs (loop0): shutting down VFS: Busy inodes after unmount of loop0 (bcachefs) ------------[ cut here ]------------ kernel BUG at fs/super.c:652! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5322 Comm: syz.0.0 Not tainted 6.14.0-rc5-syzkaller-00214-g21e4543a2e2f #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:generic_shutdown_super+0x2ca/0x2d0 fs/super.c:650 Code: 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 e9 0a ee ff 48 8b 13 48 c7 c7 80 b5 38 8c 4c 89 e6 e8 67 f6 eb fe 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000eebfd28 EFLAGS: 00010246 RAX: 0000000000000032 RBX: ffffffff8f162200 RCX: 17f58ba804a60300 RDX: ffffc9000de02000 RSI: 000000000000d9a0 RDI: 000000000000d9a1 RBP: 1ffff110025e28f0 R08: ffffffff81a1356c R09: 1ffff92001dd7f40 R10: dffffc0000000000 R11: fffff52001dd7f41 R12: ffff888012f14668 R13: dffffc0000000000 R14: ffffffff8c738d18 R15: ffff888012f14780 FS: 00007f11c32736c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000400000695ffc CR3: 0000000045faa000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_kill_sb+0x41/0x50 fs/bcachefs/fs.c:2312 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1413 task_work_run+0x24f/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f11c238d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f11c3273038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f11c25a5fa0 RCX: 00007f11c238d169 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f11c240e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f11c25a5fa0 R15: 00007ffce031c5f8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:generic_shutdown_super+0x2ca/0x2d0 fs/super.c:650 Code: 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 e9 0a ee ff 48 8b 13 48 c7 c7 80 b5 38 8c 4c 89 e6 e8 67 f6 eb fe 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000eebfd28 EFLAGS: 00010246 RAX: 0000000000000032 RBX: ffffffff8f162200 RCX: 17f58ba804a60300 RDX: ffffc9000de02000 RSI: 000000000000d9a0 RDI: 000000000000d9a1 RBP: 1ffff110025e28f0 R08: ffffffff81a1356c R09: 1ffff92001dd7f40 R10: dffffc0000000000 R11: fffff52001dd7f41 R12: ffff888012f14668 R13: dffffc0000000000 R14: ffffffff8c738d18 R15: ffff888012f14780 FS: 00007f11c32736c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000400000695ffc CR3: 0000000045faa000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400