=================================================================== REISERFS panic (device loop1): PAP-5580 reiserfs_cut_from_item: item to convert does not exist ([2 5 0x1 IND]) ------------[ cut here ]------------ kernel BUG at fs/reiserfs/prints.c:390! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5626 Comm: syz.1.248 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 40 63 9b 8a 48 0f 44 c8 48 0f 44 d8 48 c7 c7 00 64 9b 8a 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 20 e0 98 96 e8 a6 c3 24 08 <0f> 0b 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 RSP: 0018:ffffc90003587300 EFLAGS: 00010246 RAX: 000000000000006e RBX: ffffffff8a9b8220 RCX: 618ca212ca005600 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900035873f0 R08: ffffffff81668a3c R09: ffffed10172267a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8a9b8240 R13: ffffc90003587320 R14: ffffffff8c1c7ad4 R15: ffff8880735aa6a8 FS: 0000555564212500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d11dff8 CR3: 00000000669ca000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_cut_from_item+0x213e/0x2560 fs/reiserfs/stree.c:1729 reiserfs_do_truncate+0xa12/0x15b0 fs/reiserfs/stree.c:1973 reiserfs_truncate_file+0x638/0xda0 fs/reiserfs/inode.c:2318 reiserfs_file_release+0x8c6/0xaa0 fs/reiserfs/file.c:109 __fput+0x3fe/0x8e0 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7efc2874fef9 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:00007ffc9b0e3258 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 000000000004163a RCX: 00007efc2874fef9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007efc28909a80 R08: 0000000000000001 R09: 00007ffc9b0e354f R10: 00007efc285d2000 R11: 0000000000000246 R12: 0000000000042b21 R13: 00007ffc9b0e3360 R14: 0000000000000fd2 R15: ffffffffffffffff Modules linked in: ---[ end trace dad5f29e5d8a0cee ]--- RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 40 63 9b 8a 48 0f 44 c8 48 0f 44 d8 48 c7 c7 00 64 9b 8a 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 20 e0 98 96 e8 a6 c3 24 08 <0f> 0b 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 RSP: 0018:ffffc90003587300 EFLAGS: 00010246 RAX: 000000000000006e RBX: ffffffff8a9b8220 RCX: 618ca212ca005600 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900035873f0 R08: ffffffff81668a3c R09: ffffed10172267a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8a9b8240 R13: ffffc90003587320 R14: ffffffff8c1c7ad4 R15: ffff8880735aa6a8 FS: 0000555564212500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7769aba080 CR3: 00000000669ca000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400