need_inc_gen 1 dirty_sectors 0 stripe_sectors 0 cached_sectors 0 stripe 0 stripe_redundancy 0 io_time[READ] 1 io_time[WRITE] 768 fragmentation 0 bp_start 8 invalid data type (got 3 should be 9), deleting bcachefs (loop0): scan_for_btree_nodes... bcachefs (loop0): btree node scan found 7 nodes after overwrites done bcachefs (loop0): check_topology... bcachefs (loop0): btree root dirents unreadable, must recover from scan bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=dirents level=0 POS_MIN - SPOS_MAX bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 281483566645247:U64_MAX:U32_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0 bcachefs (loop0): btree node with incorrect max_key at: btree=dirents level=1 parent: u64s 5 type btree_ptr SPOS_MAX len 0 ver 0 child: u64s 11 type btree_ptr_v2 281483566645247:U64_MAX:U32_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=dirents level=0 281483566645248:0:0 - SPOS_MAX bcachefs (loop0): set_node_max(): u64s 11 type btree_ptr_v2 281483566645247:U64_MAX:U32_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0 -> SPOS_MAX done bcachefs (loop0): accounting_read... done bcachefs (loop0): alloc_read... done bcachefs (loop0): snapshots_read... done bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean bcachefs (loop0): reading quotas bcachefs (loop0): bch2_fs_quota_read_inode: snapshot tree 0 not found emergency read only at seq 10 bcachefs (loop0): bch2_fs_quota_read(): error ENOENT_snapshot_tree bcachefs (loop0): error in recovery: ENOENT_snapshot_tree bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_snapshot_tree bcachefs (loop0): shutting down bcachefs (loop0): shutdown complete bcachefs: bch2_fs_get_tree() error: ENOENT_snapshot_tree loop0: detected capacity change from 0 to 32768 bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=data_checksum=none,compression=lz4,erasure_code,prjquota,degraded=yes,fix_errors=yes,norecovery,nojournal_transaction_names allowing incompatible features above 0.0: (unknown version) features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes bcachefs (loop0): recovering from clean shutdown, journal seq 10 bcachefs (loop0): Version upgrade required: Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5316 at mm/slub.c:5024 __kvmalloc_node_noprof+0x4ca/0x600 mm/slub.c:5024 Modules linked in: CPU: 0 UID: 0 PID: 5316 Comm: syz.0.0 Not tainted 6.15.0-syzkaller-08486-gf66bc387efbe #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__kvmalloc_node_noprof+0x4ca/0x600 mm/slub.c:5024 Code: 0f 85 36 fc ff ff 31 c0 41 f6 c5 10 0f 94 c0 4c 8d 34 45 01 00 00 00 e9 20 fc ff ff 41 f7 c0 00 20 00 00 0f 85 8f fe ff ff 90 <0f> 0b 90 31 db e9 f2 fe ff ff 48 c7 c7 c0 ad 24 8e 48 89 de e8 cd RSP: 0018:ffffc9000d3ff1d8 EFLAGS: 00010246 RAX: 0000000000000360 RBX: 0000000000000000 RCX: d52c6e2fa77b0500 RDX: 000001b000000000 RSI: ffffffff8be264a0 RDI: ffffffff8be26460 RBP: ffffffff8443a760 R08: 0000000000000cc0 R09: 00000000ffffffff R10: ffffc9000d3ff080 R11: fffff52001a7fe15 R12: 000001b000000000 R13: 0000000000012cc0 R14: ffffffff8443a760 R15: 00000000ffffffff FS: 00007f0ebb44e6c0(0000) GS:ffff88808d263000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005561aca976a0 CR3: 0000000042c09000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_fs_journal_start+0x480/0x1500 fs/bcachefs/journal.c:1459 bch2_fs_recovery+0x20ca/0x3970 fs/bcachefs/recovery.c:953 bch2_fs_start+0xa43/0xd30 fs/bcachefs/super.c:1206 bch2_fs_get_tree+0xbfc/0x15f0 fs/bcachefs/fs.c:2479 vfs_get_tree+0x8f/0x2b0 fs/super.c:1809 do_new_mount+0x24a/0xa40 fs/namespace.c:3882 do_mount fs/namespace.c:4222 [inline] __do_sys_mount fs/namespace.c:4433 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4410 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0eba59010a 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:00007f0ebb44de68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f0ebb44def0 RCX: 00007f0eba59010a RDX: 0000200000000040 RSI: 0000200000000000 RDI: 00007f0ebb44deb0 RBP: 0000200000000040 R08: 00007f0ebb44def0 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000246 R12: 0000200000000000 R13: 00007f0ebb44deb0 R14: 00000000000059ed R15: 0000200000002480