REISERFS error (device loop0): vs-5150 search_by_key: invalid format found in block 533. Fsck? REISERFS (device loop0): Remounting filesystem read-only REISERFS error (device loop0): vs-13050 reiserfs_update_sd_size: i/o failure occurred trying to update [2 3 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 533. Fsck? general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 1 PID: 4168 Comm: syz-executor188 Not tainted 5.15.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 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+0x170/0x1e00 fs/reiserfs/stree.c:1050 Code: 44 24 38 4a 8d 5c 30 08 48 89 d8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 fc 14 00 00 4c 63 33 49 83 c7 28 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 71 27 bf ff 4d 8b 3f 48 8b 44 24 RSP: 0018:ffffc90002e3f2e0 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc90002e3fa60 RCX: ffff888075a80000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000008 RBP: ffffc90002e3f448 R08: ffffc90002e3f538 R09: ffffc90002e3f53c R10: 00000000fffffffe R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc90002e3fa40 R14: 0000000000000000 R15: 0000000000000028 FS: 000055555a82f380(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb7ddebe100 CR3: 0000000027c62000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_cut_from_item+0x289/0x1ef0 fs/reiserfs/stree.c:1682 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 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 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+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fb7dde44480 Code: ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 80 3d 21 ac 07 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c RSP: 002b:00007ffd1fce0a28 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fb7dde44480 RDX: 00007fb7dde452c9 RSI: 0000000000000e0e RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000555500000000 R09: 0000555500000000 R10: 0000555500000000 R11: 0000000000000202 R12: 00000000000f4240 R13: 00007fb7dde9463c R14: 00007fb7dde8e0e2 R15: 00007ffd1fce0a60 Modules linked in: ---[ end trace c9297c419b1d4aa6 ]--- 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+0x170/0x1e00 fs/reiserfs/stree.c:1050 Code: 44 24 38 4a 8d 5c 30 08 48 89 d8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 fc 14 00 00 4c 63 33 49 83 c7 28 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 71 27 bf ff 4d 8b 3f 48 8b 44 24 RSP: 0018:ffffc90002e3f2e0 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc90002e3fa60 RCX: ffff888075a80000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000008 RBP: ffffc90002e3f448 R08: ffffc90002e3f538 R09: ffffc90002e3f53c R10: 00000000fffffffe R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc90002e3fa40 R14: 0000000000000000 R15: 0000000000000028 FS: 000055555a82f380(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb7ddebe100 CR3: 0000000027c62000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 44 24 38 rex.R and $0x38,%al 3: 4a 8d 5c 30 08 lea 0x8(%rax,%r14,1),%rbx 8: 48 89 d8 mov %rbx,%rax b: 48 c1 e8 03 shr $0x3,%rax f: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax 14: 84 c0 test %al,%al 16: 0f 85 fc 14 00 00 jne 0x1518 1c: 4c 63 33 movslq (%rbx),%r14 1f: 49 83 c7 28 add $0x28,%r15 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 71 27 bf ff call 0xffbf27aa 39: 4d 8b 3f mov (%r15),%r15 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 44 rex.R 3f: 24 .byte 0x24