bcachefs (loop0): check_subvol_children... done bcachefs (loop0): delete_dead_snapshots... done bcachefs (loop0): check_inodes... done bcachefs (loop0): check_extents... done bcachefs (loop0): check_indirect_extents... done bcachefs (loop0): check_dirents... done bcachefs (loop0): check_xattrs... done bcachefs (loop0): check_root... done bcachefs (loop0): check_unreachable_inodes... done bcachefs (loop0): check_subvolume_structure... done bcachefs (loop0): check_directory_structure... done bcachefs (loop0): check_nlinks... bcachefs (loop0): inode 536870914 type reg has wrong i_nlink (2780562353, should be 1), fixing done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): delete_dead_inodes... done bcachefs (loop0): set_fs_needs_rebalance... done bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean bcachefs (loop0): check_alloc_info... done bcachefs (loop0): check_lrus... done bcachefs (loop0): check_btree_backpointers... done bcachefs (loop0): check_backpointers_to_extents... done bcachefs (loop0): check_extents_to_backpointers... done bcachefs (loop0): check_alloc_to_lru_refs... done bcachefs (loop0): bucket_gens_init... done bcachefs (loop0): check_snapshot_trees... done bcachefs (loop0): check_snapshots... done bcachefs (loop0): check_subvols... done bcachefs (loop0): check_subvol_children... done bcachefs (loop0): delete_dead_snapshots... done bcachefs (loop0): check_inodes... done bcachefs (loop0): check_extents... done bcachefs (loop0): check_indirect_extents... done bcachefs (loop0): check_dirents... done bcachefs (loop0): check_xattrs... done bcachefs (loop0): check_root... done bcachefs (loop0): check_unreachable_inodes... done bcachefs (loop0): check_subvolume_structure... done bcachefs (loop0): check_directory_structure... done bcachefs (loop0): check_nlinks... done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): delete_dead_inodes... done bcachefs (loop0): set_fs_needs_rebalance... done bcachefs (loop0): done starting filesystem UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list bcachefs (loop0): /file3 offset 0: key_type_error u64s 5 type error 536870913:24:U32_MAX len 24 ver 0 bcachefs (loop0): /file3 offset 0: key_type_error u64s 5 type error 536870913:24:U32_MAX len 24 ver 0 ------------[ cut here ]------------ kernel BUG at fs/bcachefs/fs.c:1327! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5318 Comm: syz.0.0 Not tainted 6.15.0-rc6-syzkaller-00300-g205b2bd7939c #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:bch2_fill_extent+0x96e/0x970 fs/bcachefs/fs.c:1327 Code: 0f 0b e8 25 57 8d fd 90 0f 0b e8 1d 57 8d fd e9 f7 fe ff ff e8 13 57 8d fd 90 0f 0b e8 0b 57 8d fd 90 0f 0b e8 03 57 8d fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa RSP: 0018:ffffc9000d61f420 EFLAGS: 00010283 RAX: ffffffff84329aed RBX: 0000000000000018 RCX: 0000000000100000 RDX: ffffc9000e2ca000 RSI: 0000000000001ba1 RDI: 0000000000001ba2 RBP: 0000000000000001 R08: ffff88801f58c880 R09: 0000000000000004 R10: 0000000000000012 R11: 0000000000000002 R12: 0000000000000000 R13: ffffc9000d61f8a8 R14: 0000000000000002 R15: 0000000000000002 FS: 00007fe6f6db76c0(0000) GS:ffff88808d6c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f24559a6000 CR3: 0000000042004000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_fiemap+0x288e/0x2ab0 fs/bcachefs/fs.c:1542 ioctl_fiemap fs/ioctl.c:220 [inline] do_vfs_ioctl+0x163b/0x1eb0 fs/ioctl.c:840 __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0x82/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe6f5f8e969 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:00007fe6f6db7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe6f61b5fa0 RCX: 00007fe6f5f8e969 RDX: 0000200000000240 RSI: 00000000c020660b RDI: 0000000000000009 RBP: 00007fe6f6010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe6f61b5fa0 R15: 00007ffdaf426268 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bch2_fill_extent+0x96e/0x970 fs/bcachefs/fs.c:1327 Code: 0f 0b e8 25 57 8d fd 90 0f 0b e8 1d 57 8d fd e9 f7 fe ff ff e8 13 57 8d fd 90 0f 0b e8 0b 57 8d fd 90 0f 0b e8 03 57 8d fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa RSP: 0018:ffffc9000d61f420 EFLAGS: 00010283 RAX: ffffffff84329aed RBX: 0000000000000018 RCX: 0000000000100000 RDX: ffffc9000e2ca000 RSI: 0000000000001ba1 RDI: 0000000000001ba2 RBP: 0000000000000001 R08: ffff88801f58c880 R09: 0000000000000004 R10: 0000000000000012 R11: 0000000000000002 R12: 0000000000000000 R13: ffffc9000d61f8a8 R14: 0000000000000002 R15: 0000000000000002 FS: 00007fe6f6db76c0(0000) GS:ffff88808d6c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f24559a6000 CR3: 0000000042004000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400