REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[2 1 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2 REISERFS error (device loop1): vs-5150 search_by_key: invalid format found in block 532. Fsck? ------------[ cut here ]------------ kernel BUG at fs/reiserfs/stree.c:1568! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 7757 Comm: syz-executor.1 Not tainted 5.15.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline] pc : reiserfs_cut_from_item+0x1a74/0x1c84 fs/reiserfs/stree.c:1694 lr : maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline] lr : reiserfs_cut_from_item+0x1a74/0x1c84 fs/reiserfs/stree.c:1694 sp : ffff80001cf87080 x29: ffff80001cf875a0 x28: ffff80001cf87780 x27: 0000000000000000 x26: ffff80001cf87560 x25: ffff80001cf876e0 x24: 0000000000000e38 x23: dfff800000000000 x22: ffff0000d15ac678 x21: 1fffe0001d29f38c x20: 0000000000000e38 x19: ffff0000d15ac000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800008cded30 x15: 00000000fffffffe x14: ffff0000f7613680 x13: 0000000000ff0100 x12: ffffffffffffffff x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000f7613680 x8 : ffff800008ce67d0 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff800008a714a4 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000e38 Call trace: maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline] reiserfs_cut_from_item+0x1a74/0x1c84 fs/reiserfs/stree.c:1694 reiserfs_do_truncate+0x89c/0x11c8 fs/reiserfs/stree.c:1973 reiserfs_truncate_file+0x3ac/0x6f0 fs/reiserfs/inode.c:2318 reiserfs_setattr+0x8e8/0xd94 fs/reiserfs/inode.c:3409 notify_change+0xa34/0xcf8 fs/attr.c:505 do_truncate+0x1c0/0x28c fs/open.c:65 do_sys_ftruncate+0x288/0x31c fs/open.c:193 __do_sys_ftruncate fs/open.c:204 [inline] __se_sys_ftruncate fs/open.c:202 [inline] __arm64_sys_ftruncate+0x60/0x74 fs/open.c:202 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: 52800081 97efa0b1 17fffde7 97df76d0 (d4210000) ---[ end trace 3afa9bd31b5f773e ]---