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 loop4): 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: 14912 Comm: syz-executor.4 Not tainted 6.1.39-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 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+0x1a88/0x1c98 fs/reiserfs/stree.c:1694 lr : maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline] lr : reiserfs_cut_from_item+0x1a88/0x1c98 fs/reiserfs/stree.c:1694 sp : ffff8000222270a0 x29: ffff8000222275c0 x28: ffff8000222277a0 x27: 0000000000000000 x26: ffff800022227580 x25: ffff800022227700 x24: 0000000000000e00 x23: dfff800000000000 x22: ffff00010fbe2678 x21: 1fffe00021d81884 x20: 0000000000000e00 x19: ffff00010fbe2000 x18: 1fffe000368b5976 x17: ffff8000155cd000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000002 x13: 00000000fffffffe x12: 0000000000040000 x11: 00000000000135ce x10: ffff80002432a000 x9 : ffff800008d9eda4 x8 : 00000000000135cf x7 : ffff80000827b5cc x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff800008b2c584 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000e00 Call trace: maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline] reiserfs_cut_from_item+0x1a88/0x1c98 fs/reiserfs/stree.c:1694 reiserfs_do_truncate+0x89c/0x11c8 fs/reiserfs/stree.c:1973 reiserfs_truncate_file+0x510/0xb1c fs/reiserfs/inode.c:2310 reiserfs_setattr+0xb58/0x101c fs/reiserfs/inode.c:3395 notify_change+0xc24/0xec0 fs/attr.c:482 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/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Code: 52800081 97ef3ad4 17fffde2 97dd6d46 (d4210000) ---[ end trace 0000000000000000 ]---