| 0| *3.6* [2 5 0x0 SD], item_len 44, item_location 4052, free_space(entry_count) 65535 | mode | size | nlinks | first direct | mtime 0100000 | 4 | 1 | 0 | 1733123358 =================================================================== 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: 4517 Comm: syz.1.60 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 00 64 bb 8a 48 0f 44 c8 48 0f 44 d8 48 c7 c7 c0 64 bb 8a 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 20 40 bb 96 e8 46 ea 2e 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:ffffc900032b6e60 EFLAGS: 00010246 RAX: 000000000000006e RBX: ffffffff8abb82e0 RCX: c57e46e7daa1ff00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900032b6f50 R08: ffffffff81669a1c R09: ffffed10171c67a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8abb8300 R13: ffffc900032b6e80 R14: ffffffff8c3dc174 R15: ffff888078e346a8 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558dbe9808 CR3: 0000000063c0b000 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 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x6a3/0x2480 kernel/exit.c:874 do_group_exit+0x144/0x310 kernel/exit.c:996 get_signal+0xc66/0x14e0 kernel/signal.c:2900 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 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:0x7f835ef7e849 Code: Unable to access opcode bytes at RIP 0x7f835ef7e81f. RSP: 002b:00007f835cdf40e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f835f143fa8 RCX: 00007f835ef7e849 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f835f143fa8 RBP: 00007f835f143fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f835f143fac R13: 0000000000000000 R14: 00007ffd50cd35c0 R15: 00007ffd50cd36a8 Modules linked in: ---[ end trace 737301af861a4c09 ]--- RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 00 64 bb 8a 48 0f 44 c8 48 0f 44 d8 48 c7 c7 c0 64 bb 8a 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 20 40 bb 96 e8 46 ea 2e 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:ffffc900032b6e60 EFLAGS: 00010246 RAX: 000000000000006e RBX: ffffffff8abb82e0 RCX: c57e46e7daa1ff00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900032b6f50 R08: ffffffff81669a1c R09: ffffed10171c67a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8abb8300 R13: ffffc900032b6e80 R14: ffffffff8c3dc174 R15: ffff888078e346a8 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558dbe9808 CR3: 0000000063c0b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400