------------[ cut here ]------------ kernel BUG at fs/reiserfs/stree.c:1566! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8210 Comm: syz.5.388 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:maybe_indirect_to_direct fs/reiserfs/stree.c:1566 [inline] RIP: 0010:reiserfs_cut_from_item+0x1ce8/0x1f10 fs/reiserfs/stree.c:1692 Code: 44 89 e9 80 e1 07 38 c1 0f 8c c4 f9 ff ff be 04 00 00 00 4c 89 ef e8 d7 37 b7 ff 48 8b 54 24 18 e9 ad f9 ff ff e8 f8 c8 5f ff <0f> 0b e8 f1 c8 5f ff 0f 0b e8 ea c8 5f ff 0f 0b e8 e3 c8 5f ff 0f RSP: 0018:ffffc900048df1c0 EFLAGS: 00010293 RAX: ffffffff8225c7c8 RBX: 00000000003a6001 RCX: ffff888026fa1e00 RDX: 0000000000000000 RSI: 00000000003a6001 RDI: 0000000000000012 RBP: ffffc900048df6b0 R08: ffff88805aa09747 R09: 1ffff1100b5412e8 R10: dffffc0000000000 R11: ffffed100b5412e9 R12: dffffc0000000000 R13: ffff88805aac7230 R14: 0000000000000012 R15: ffffc900048df820 FS: 00007f0cb27696c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f335dc84000 CR3: 000000007454a000 CR4: 00000000003506e0 Call Trace: reiserfs_do_truncate+0xa3d/0x1340 fs/reiserfs/stree.c:1971 reiserfs_truncate_file+0x37a/0x7c0 fs/reiserfs/inode.c:2306 reiserfs_file_release+0x8e4/0xa50 fs/reiserfs/file.c:109 __fput+0x234/0x970 fs/file_table.c:384 task_work_run+0x1ce/0x250 kernel/task_work.c:239 get_signal+0x1235/0x1400 kernel/signal.c:2678 arch_do_signal_or_restart+0x9c/0x7b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xf6/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0cb198f749 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:00007f0cb2769038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 0000000000000012 RBX: 00007f0cb1be6180 RCX: 00007f0cb198f749 RDX: 0000000000000012 RSI: 00002000000002c0 RDI: 0000000000000006 RBP: 00007f0cb1a13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0cb1be6218 R14: 00007f0cb1be6180 R15: 00007ffd0e012088 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:maybe_indirect_to_direct fs/reiserfs/stree.c:1566 [inline] RIP: 0010:reiserfs_cut_from_item+0x1ce8/0x1f10 fs/reiserfs/stree.c:1692 Code: 44 89 e9 80 e1 07 38 c1 0f 8c c4 f9 ff ff be 04 00 00 00 4c 89 ef e8 d7 37 b7 ff 48 8b 54 24 18 e9 ad f9 ff ff e8 f8 c8 5f ff <0f> 0b e8 f1 c8 5f ff 0f 0b e8 ea c8 5f ff 0f 0b e8 e3 c8 5f ff 0f RSP: 0018:ffffc900048df1c0 EFLAGS: 00010293 RAX: ffffffff8225c7c8 RBX: 00000000003a6001 RCX: ffff888026fa1e00 RDX: 0000000000000000 RSI: 00000000003a6001 RDI: 0000000000000012 RBP: ffffc900048df6b0 R08: ffff88805aa09747 R09: 1ffff1100b5412e8 R10: dffffc0000000000 R11: ffffed100b5412e9 R12: dffffc0000000000 R13: ffff88805aac7230 R14: 0000000000000012 R15: ffffc900048df820 FS: 00007f0cb27696c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f335dc90000 CR3: 000000007454a000 CR4: 00000000003506e0