| 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 | 3597 | 1 | 0 | 1758082827 =================================================================== 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: 5921 Comm: syz.1.454 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 00 34 1b 8a 48 0f 44 c8 4c 0f 44 f0 48 c7 c7 c0 34 1b 8a 4c 89 fe 4c 89 f2 49 89 d8 49 c7 c1 e0 7d 1e 96 e8 96 51 ff ff <0f> 0b 0f 1f 40 00 53 48 89 fb e8 a7 ad d8 f7 48 c7 c7 80 3d 1b 8a RSP: 0018:ffffc90003c76f40 EFLAGS: 00010246 RAX: 000000000000006e RBX: ffffffff8bb05637 RCX: 29bac23acf7af400 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90003c77030 R08: dffffc0000000000 R09: ffffed10172067b0 R10: ffffed10172067b0 R11: 1ffff110172067af R12: ffffffff8a1b52a0 R13: ffffc90003c76f60 R14: ffffffff8a1b5280 R15: ffff88802b6066a8 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000074efc000 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 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x61e/0x20a0 kernel/exit.c:883 do_group_exit+0x12e/0x300 kernel/exit.c:997 get_signal+0x6ca/0x12c0 kernel/signal.c:2900 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 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 ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:280 RIP: 0033:0x7ff46374e409 Code: Unable to access opcode bytes at RIP 0x7ff46374e3df. RSP: 002b:00007ff46191e1c0 EFLAGS: 00000202 ORIG_RAX: 00000000000001b3 RAX: 0000000000000000 RBX: 00007ff4636d0820 RCX: 00007ff46374e409 RDX: 00007ff4636d0820 RSI: 0000000000000058 RDI: 00007fff33ff3960 RBP: 00007ff46191e6c0 R08: 00007ff46191e6c0 R09: 00007fff33ff3a47 R10: 0000000000000008 R11: 0000000000000202 R12: ffffffffffffffa8 R13: 000000000000000b R14: 00007fff33ff3960 R15: 00007fff33ff3a48 Modules linked in: ---[ end trace 9baa5e110595b8fe ]--- RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 00 34 1b 8a 48 0f 44 c8 4c 0f 44 f0 48 c7 c7 c0 34 1b 8a 4c 89 fe 4c 89 f2 49 89 d8 49 c7 c1 e0 7d 1e 96 e8 96 51 ff ff <0f> 0b 0f 1f 40 00 53 48 89 fb e8 a7 ad d8 f7 48 c7 c7 80 3d 1b 8a RSP: 0018:ffffc90003c76f40 EFLAGS: 00010246 RAX: 000000000000006e RBX: ffffffff8bb05637 RCX: 29bac23acf7af400 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90003c77030 R08: dffffc0000000000 R09: ffffed10172067b0 R10: ffffed10172067b0 R11: 1ffff110172067af R12: ffffffff8a1b52a0 R13: ffffc90003c76f60 R14: ffffffff8a1b5280 R15: ffff88802b6066a8 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbaf8335d58 CR3: 0000000063ec6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400