REISERFS panic (device loop4): PAP-5580 reiserfs_cut_from_item: item to convert does not exist ([2 7 0x1 IND]) ------------[ cut here ]------------ kernel BUG at fs/reiserfs/prints.c:390! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5983 Comm: syz.4.396 Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 40 47 1b 8a 48 0f 44 c8 4c 0f 44 f0 48 c7 c7 00 48 1b 8a 4c 89 fe 4c 89 f2 49 89 d8 49 c7 c1 a0 5f 1c 96 e8 16 52 ff ff <0f> 0b 0f 1f 40 00 53 48 89 fb e8 77 a0 e0 f7 48 c7 c7 c0 50 1b 8a RSP: 0000:ffffc9000444f360 EFLAGS: 00010246 RAX: 000000000000006e RBX: ffffffff8baf1b3c RCX: cf050ebf164c3f00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000444f450 R08: dffffc0000000000 R09: ffffed10172067a8 R10: ffffed10172067a8 R11: 1ffff110172067a7 R12: ffffffff8a1b65e0 R13: ffffc9000444f380 R14: ffffffff8a1b65c0 R15: ffff8880794726a8 FS: 0000555556115500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8c7c64db10 CR3: 000000005e3a4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_cut_from_item+0x1926/0x1ef0 fs/reiserfs/stree.c:1729 reiserfs_do_truncate+0xa90/0x13e0 fs/reiserfs/stree.c:1973 reiserfs_truncate_file+0x632/0xdc0 fs/reiserfs/inode.c:2318 reiserfs_file_release+0x8e0/0xa50 fs/reiserfs/file.c:109 __fput+0x234/0x930 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/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+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f00ecfb5969 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:00007fff21446b48 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f00ed1deba0 RCX: 00007f00ecfb5969 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f00ed1deba0 R08: 0000000000000080 R09: 0000000821446e3f R10: 00000000003ffd5c R11: 0000000000000246 R12: 0000000000033ec1 R13: 00007fff21446c40 R14: ffffffffffffffff R15: 00007fff21446c60 Modules linked in: ---[ end trace d241105d088a19c7 ]--- RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 40 47 1b 8a 48 0f 44 c8 4c 0f 44 f0 48 c7 c7 00 48 1b 8a 4c 89 fe 4c 89 f2 49 89 d8 49 c7 c1 a0 5f 1c 96 e8 16 52 ff ff <0f> 0b 0f 1f 40 00 53 48 89 fb e8 77 a0 e0 f7 48 c7 c7 c0 50 1b 8a RSP: 0000:ffffc9000444f360 EFLAGS: 00010246 RAX: 000000000000006e RBX: ffffffff8baf1b3c RCX: cf050ebf164c3f00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000444f450 R08: dffffc0000000000 R09: ffffed10172067a8 R10: ffffed10172067a8 R11: 1ffff110172067a7 R12: ffffffff8a1b65e0 R13: ffffc9000444f380 R14: ffffffff8a1b65c0 R15: ffff8880794726a8 FS: 0000555556115500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ce4bfb2d8 CR3: 000000005e3a4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400