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 loop3): vs-5150 search_by_key: invalid format found in block 532. Fsck? REISERFS (device loop3): Remounting filesystem read-only ------------[ cut here ]------------ kernel BUG at fs/reiserfs/stree.c:1568! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5685 Comm: syz.3.192 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline] RIP: 0010:reiserfs_cut_from_item+0x1cba/0x1ef0 fs/reiserfs/stree.c:1694 Code: 44 89 e9 80 e1 07 38 c1 0f 8c c4 f9 ff ff be 04 00 00 00 4c 89 ef e8 55 b9 be ff 48 8b 54 24 18 e9 ad f9 ff ff e8 66 50 7a ff <0f> 0b e8 5f 50 7a ff 0f 0b e8 58 50 7a ff 0f 0b e8 51 50 7a ff 0f RSP: 0018:ffffc90003a57340 EFLAGS: 00010293 RAX: ffffffff81fd7baa RBX: 0000000000000e5c RCX: ffff88805dc53b80 RDX: 0000000000000000 RSI: 0000000000000e5c RDI: 0000000000000000 RBP: ffffc90003a57830 R08: ffff88805dc53b80 R09: 0000000000000002 R10: 00000000fffffffe R11: 0000000000000000 R12: dffffc0000000000 R13: ffff88806a125110 R14: 0000000000000000 R15: ffffc90003a579c0 FS: 00007f8c4400c6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f89d194a000 CR3: 0000000059f44000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_do_truncate+0xa90/0x13e0 fs/reiserfs/stree.c:1973 reiserfs_truncate_file+0x632/0xdc0 fs/reiserfs/inode.c:2318 reiserfs_setattr+0xaa7/0x1010 fs/reiserfs/inode.c:3409 notify_change+0xbcd/0xee0 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 do_sys_ftruncate+0x31b/0x3d0 fs/open.c:193 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8c44dbd929 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:00007f8c4400c038 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f8c44fe5080 RCX: 00007f8c44dbd929 RDX: 0000000000000000 RSI: 0000000000000e5c RDI: 0000000000000004 RBP: 00007f8c44e3fb39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f8c44fe5080 R15: 00007ffc774d3418 Modules linked in: ---[ end trace 3fe01630c03a24e3 ]--- RIP: 0010:maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline] RIP: 0010:reiserfs_cut_from_item+0x1cba/0x1ef0 fs/reiserfs/stree.c:1694 Code: 44 89 e9 80 e1 07 38 c1 0f 8c c4 f9 ff ff be 04 00 00 00 4c 89 ef e8 55 b9 be ff 48 8b 54 24 18 e9 ad f9 ff ff e8 66 50 7a ff <0f> 0b e8 5f 50 7a ff 0f 0b e8 58 50 7a ff 0f 0b e8 51 50 7a ff 0f RSP: 0018:ffffc90003a57340 EFLAGS: 00010293 RAX: ffffffff81fd7baa RBX: 0000000000000e5c RCX: ffff88805dc53b80 RDX: 0000000000000000 RSI: 0000000000000e5c RDI: 0000000000000000 RBP: ffffc90003a57830 R08: ffff88805dc53b80 R09: 0000000000000002 R10: 00000000fffffffe R11: 0000000000000000 R12: dffffc0000000000 R13: ffff88806a125110 R14: 0000000000000000 R15: ffffc90003a579c0 FS: 00007f8c4400c6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4dec716000 CR3: 0000000059f44000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400