REISERFS error (device loop3): vs-13050 reiserfs_update_sd_size: i/o failure occurred trying to update [2 2 0x0 SD] stat data REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[2 1 0(1) DIR], item_len 35, item_location 4061, free_space(entry_count) 2 REISERFS error (device loop3): vs-5150 search_by_key: invalid format found in block 532. Fsck? general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 0 PID: 12433 Comm: syz-executor.3 Not tainted 6.2.0-rc2-syzkaller-00203-g1f5abbd77e2c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:reiserfs_node_data fs/reiserfs/reiserfs.h:2184 [inline] RIP: 0010:item_head fs/reiserfs/reiserfs.h:2200 [inline] RIP: 0010:tp_item_head fs/reiserfs/reiserfs.h:2226 [inline] RIP: 0010:prepare_for_delete_or_cut+0x129/0x1a10 fs/reiserfs/stree.c:1050 Code: da 8b 6b 08 48 c1 ea 03 80 3c 02 00 0f 85 8a 18 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 1b 48 8d 7b 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4a 18 00 00 48 8b 5b 28 48 63 c5 48 8d 44 40 03 RSP: 0018:ffffc9000318f118 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffffffff82181c0f RDI: 0000000000000028 RBP: 0000000000000000 R08: ffffc9000318f320 R09: ffffc9000318f310 R10: 00000000fffffffe R11: 0000000000000000 R12: ffffc9000318f310 R13: ffff8880b0cbaff0 R14: 1ffff92000631efa R15: ffffc9000318f320 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31a24000 CR3: 0000000026ae5000 CR4: 0000000000350ef0 Call Trace: reiserfs_cut_from_item+0x260/0x1b20 fs/reiserfs/stree.c:1682 reiserfs_do_truncate+0x630/0x1080 fs/reiserfs/stree.c:1973 reiserfs_truncate_file+0x1b5/0x1070 fs/reiserfs/inode.c:2310 reiserfs_file_release+0x8a1/0xcb0 fs/reiserfs/file.c:109 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xaa8/0x2950 kernel/exit.c:867 do_group_exit+0xd4/0x2a0 kernel/exit.c:1012 get_signal+0x21c3/0x2450 kernel/signal.c:2859 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe72f48c0c9 Code: Unable to access opcode bytes at 0x7fe72f48c09f. RSP: 002b:00007fe730168168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 000000000000002a RBX: 00007fe72f5ac120 RCX: 00007fe72f48c0c9 RDX: 000000000000002a RSI: 0000000020000700 RDI: 0000000000000004 RBP: 00007fe72f4e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffecedad77f R14: 00007fe730168300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:reiserfs_node_data fs/reiserfs/reiserfs.h:2184 [inline] RIP: 0010:item_head fs/reiserfs/reiserfs.h:2200 [inline] RIP: 0010:tp_item_head fs/reiserfs/reiserfs.h:2226 [inline] RIP: 0010:prepare_for_delete_or_cut+0x129/0x1a10 fs/reiserfs/stree.c:1050 Code: da 8b 6b 08 48 c1 ea 03 80 3c 02 00 0f 85 8a 18 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 1b 48 8d 7b 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4a 18 00 00 48 8b 5b 28 48 63 c5 48 8d 44 40 03 RSP: 0018:ffffc9000318f118 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffffffff82181c0f RDI: 0000000000000028 RBP: 0000000000000000 R08: ffffc9000318f320 R09: ffffc9000318f310 R10: 00000000fffffffe R11: 0000000000000000 R12: ffffc9000318f310 R13: ffff8880b0cbaff0 R14: 1ffff92000631efa R15: ffffc9000318f320 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000204fe000 CR3: 000000002b5b0000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 8b 6b 08 mov 0x8(%rbx),%ebp 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 8a 18 00 00 jne 0x189b 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 48 8b 1b mov (%rbx),%rbx 1e: 48 8d 7b 28 lea 0x28(%rbx),%rdi 22: 48 89 fa mov %rdi,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 4a 18 00 00 jne 0x187d 33: 48 8b 5b 28 mov 0x28(%rbx),%rbx 37: 48 63 c5 movslq %ebp,%rax 3a: 48 8d 44 40 03 lea 0x3(%rax,%rax,2),%rax