Doing compatible version upgrade from 1.13: inode_has_child_snapshots to 1.28: inode_has_case_insensitive running recovery passes: check_allocations,check_extents_to_backpointers,check_inodes bcachefs (loop0): invalid bkey in btree_node btree=inodes level=0: u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: (unpack error) invalid variable length fields, deleting bcachefs (loop0): btree node read error at btree dirents level 0/0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0 loop0 node offset 0/24 bset u64s 0: incorrect max key 281483566645247:U64_MAX:U32_MAX loop0 btree validate error flagging btree dirents lost data running recovery pass check_topology (2), currently at recovery_pass_empty (0) running recovery pass check_lrus (14), currently at recovery_pass_empty (0) running recovery pass check_backpointers_to_extents (16), currently at recovery_pass_empty (0) running recovery pass check_topology (2), currently at recovery_pass_empty (0) running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) ret btree_node_read_err_bad_node bcachefs (loop0): error reading btree root btree=dirents level=0: btree_node_read_error, fixing bcachefs (loop0): invalid bkey in btree_node btree=alloc level=0: u64s 12 type alloc_v4 0:28:0 len 0 ver 0: gen 0 oldest_gen 0 data_type btree journal_seq_nonempty 6 journal_seq_empty 0 need_discard 1 need_inc_gen 1 dirty_sectors 0 stripe_sectors 1769482 cached_sectors 0 stripe 0 stripe_redundancy 0 io_time[READ] 1 io_time[WRITE] 768 fragmentation 0 bp_start 7 invalid data type (got 3 should be 9), deleting bcachefs (loop0): check_topology... bcachefs (loop0): btree root dirents unreadable, must recover from scan bcachefs (loop0): running recovery pass scan_for_btree_nodes (1), currently at check_topology (2) - rewinding bcachefs (loop0): bch2_check_root(): error restart_recovery bcachefs (loop0): scan_for_btree_nodes... bcachefs (loop0): btree node scan found 1 nodes after overwrites done bcachefs (loop0): check_topology... bcachefs (loop0): btree root dirents unreadable, must recover from scan bcachefs (loop0): no nodes found for btree dirents, continuing 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): done starting filesystem Bluetooth: hci1: Frame reassembly failed (-90) BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 0 P4D 0 Oops: Oops: 0010 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5362 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-11579-g35a813e010b9 #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:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc9000d317998 EFLAGS: 00010287 RAX: ffffffff81f8e2b4 RBX: 1ffffd40002a12d8 RCX: 0000000000100000 RDX: ffffc9000e1f2000 RSI: ffffea00015096c0 RDI: ffff888000c60000 RBP: ffffc9000d317a50 R08: ffffea00015096c7 R09: 1ffffd40002a12d8 R10: dffffc0000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffea00015096c8 R14: ffffea00015096c0 R15: 1ffffd40002a12d9 FS: 00007f6a953166c0(0000) GS:ffff88808d219000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000043fa8000 CR4: 0000000000352ef0 Call Trace: filemap_read_folio+0x117/0x380 mm/filemap.c:2413 do_read_cache_folio+0x350/0x590 mm/filemap.c:3957 freader_get_folio+0x3c4/0x830 lib/buildid.c:77 freader_fetch+0xa3/0x5d0 lib/buildid.c:120 __build_id_parse+0x133/0x7d0 lib/buildid.c:305 do_procmap_query fs/proc/task_mmu.c:662 [inline] procfs_procmap_ioctl+0x7f0/0xce0 fs/proc/task_mmu.c:741 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584 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:0x7f6a9458eb69 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:00007f6a95316038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6a947b5fa0 RCX: 00007f6a9458eb69 RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 0000000000000009 RBP: 00007f6a94611df1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6a947b5fa0 R15: 00007ffd1b6ecc58 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc9000d317998 EFLAGS: 00010287 RAX: ffffffff81f8e2b4 RBX: 1ffffd40002a12d8 RCX: 0000000000100000 RDX: ffffc9000e1f2000 RSI: ffffea00015096c0 RDI: ffff888000c60000 RBP: ffffc9000d317a50 R08: ffffea00015096c7 R09: 1ffffd40002a12d8 R10: dffffc0000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffea00015096c8 R14: ffffea00015096c0 R15: 1ffffd40002a12d9 FS: 00007f6a953166c0(0000) GS:ffff88808d219000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000043fa8000 CR4: 0000000000352ef0