REISERFS error (device loop0): 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 4029, free_space(entry_count) 2 REISERFS error (device loop0): vs-5150 search_by_key: invalid format found in block 531. 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: 22042 Comm: syz-executor.0 Not tainted 6.2.0-rc6-syzkaller-00258-gdb27c22251e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:prepare_for_delete_or_cut+0x18d/0x2210 Code: d8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 a7 17 00 00 4c 63 33 49 83 c4 28 4c 89 e0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 e7 e8 24 ab b4 ff 4d 8b 3c 24 48 b8 00 RSP: 0018:ffffc9000fcf6e20 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc9000fcf75e0 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000008 RBP: ffffc9000fcf6f88 R08: ffffffff8229de00 R09: ffffc9000fcf7450 R10: 0000000000000002 R11: ffff888068958000 R12: 0000000000000028 R13: ffff888049b34000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f93fc8ca6a8 CR3: 000000002d1f6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_cut_from_item+0x372/0x25a0 reiserfs_do_truncate+0x988/0x1550 reiserfs_truncate_file+0x463/0x790 reiserfs_file_release+0x88d/0xa40 __fput+0x3b7/0x890 task_work_run+0x24a/0x300 do_exit+0x605/0x2210 do_group_exit+0x206/0x2c0 get_signal+0x16d8/0x17b0 arch_do_signal_or_restart+0x7f/0x660 exit_to_user_mode_loop+0x6a/0xf0 exit_to_user_mode_prepare+0xb1/0x140 syscall_exit_to_user_mode+0x54/0x2d0 do_syscall_64+0x4d/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f368528c0c9 Code: Unable to access opcode bytes at 0x7f368528c09f. RSP: 002b:00007f3685f67218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f36853abf88 RCX: 00007f368528c0c9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f36853abf8c RBP: 00007f36853abf80 R08: 0000000000000010 R09: 0000000000000000 R10: 000000000000002a R11: 0000000000000246 R12: 00007f36853abf8c R13: 00007ffd35c4605f R14: 00007f3685f67300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:prepare_for_delete_or_cut+0x18d/0x2210 Code: d8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 a7 17 00 00 4c 63 33 49 83 c4 28 4c 89 e0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 e7 e8 24 ab b4 ff 4d 8b 3c 24 48 b8 00 RSP: 0018:ffffc9000fcf6e20 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc9000fcf75e0 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000008 RBP: ffffc9000fcf6f88 R08: ffffffff8229de00 R09: ffffc9000fcf7450 R10: 0000000000000002 R11: ffff888068958000 R12: 0000000000000028 R13: ffff888049b34000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32124000 CR3: 000000002d1f6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 c1 e8 03 shr $0x3,%rax 4: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 b: fc ff df e: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax 13: 84 c0 test %al,%al 15: 0f 85 a7 17 00 00 jne 0x17c2 1b: 4c 63 33 movslq (%rbx),%r14 1e: 49 83 c4 28 add $0x28,%r12 22: 4c 89 e0 mov %r12,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 e7 mov %r12,%rdi 33: e8 24 ab b4 ff callq 0xffb4ab5c 38: 4d 8b 3c 24 mov (%r12),%r15 3c: 48 rex.W 3d: b8 .byte 0xb8