REISERFS (device loop1): Created .reiserfs_priv - reserved for xattr storage. REISERFS error (device loop4): vs-5150 search_by_key: invalid format found in block 533. Fsck? kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 16821 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:reiserfs_node_data fs/reiserfs/reiserfs.h:2186 [inline] RIP: 0010:item_head fs/reiserfs/reiserfs.h:2202 [inline] RIP: 0010:tp_item_head fs/reiserfs/reiserfs.h:2228 [inline] RIP: 0010:prepare_for_delete_or_cut+0x12a/0x1b00 fs/reiserfs/stree.c:1060 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 57 19 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 69 18 00 00 48 8b 4b 28 49 63 c4 48 8d 44 40 03 RSP: 0018:ffff88803f8bf450 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff88803f8bfad0 RDX: 0000000000000005 RSI: ffffffff81d4eb6f RDI: 0000000000000028 RBP: ffff88803f8bf650 R08: ffff88803f8bf660 R09: ffff88803f8bf650 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888044228900 R14: 1ffff11007f17f62 R15: ffff88803f8bf660 FS: 00005555555c1400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556b216074a8 CR3: 0000000097c16000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_cut_from_item+0x1ef/0x1960 fs/reiserfs/stree.c:1692 reiserfs_do_truncate+0x64a/0x10c0 fs/reiserfs/stree.c:1983 reiserfs_truncate_file+0x1b1/0x1030 fs/reiserfs/inode.c:2320 reiserfs_file_release+0x982/0xd90 fs/reiserfs/file.c:115 REISERFS (device loop3): found reiserfs format "3.5" with non-standard journal __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 REISERFS (device loop3): using ordered data mode prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fa328d2af7b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 reiserfs: using flush barriers RSP: 002b:00007ffde436ed80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fa328d2af7b RDX: 00007fa3288ee6d0 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007fa328e9a980 R08: 0000000000000000 R09: 00007fa3288ed000 R10: 00007fa3288ee6d8 R11: 0000000000000293 R12: 0000000000063e9a REISERFS (device loop3): journal params: device loop3, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 R13: 00007ffde436ee80 R14: 00007fa328e98f80 R15: 0000000000000032 Modules linked in: ---[ end trace 4d41ff1f4453c0d9 ]--- REISERFS (device loop5): Using r5 hash to sort names RIP: 0010:reiserfs_node_data fs/reiserfs/reiserfs.h:2186 [inline] RIP: 0010:item_head fs/reiserfs/reiserfs.h:2202 [inline] RIP: 0010:tp_item_head fs/reiserfs/reiserfs.h:2228 [inline] RIP: 0010:prepare_for_delete_or_cut+0x12a/0x1b00 fs/reiserfs/stree.c:1060 REISERFS (device loop5): using 3.5.x disk format Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 57 19 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 69 18 00 00 48 8b 4b 28 49 63 c4 48 8d 44 40 03 RSP: 0018:ffff88803f8bf450 EFLAGS: 00010206 REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage. RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff88803f8bfad0 RDX: 0000000000000005 RSI: ffffffff81d4eb6f RDI: 0000000000000028 RBP: ffff88803f8bf650 R08: ffff88803f8bf660 R09: ffff88803f8bf650 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 REISERFS (device loop3): checking transaction log (loop3) R13: ffff888044228900 R14: 1ffff11007f17f62 R15: ffff88803f8bf660 FS: 00005555555c1400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f09fc75b06c CR3: 0000000097c16000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 REISERFS (device loop3): Using r5 hash to sort names REISERFS (device loop3): using 3.5.x disk format ---------------- Code disassembly (best guess), 4 bytes skipped: 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 57 19 00 00 jne 0x1965 e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 15: fc ff df 18: 48 8b 1b mov (%rbx),%rbx 1b: 48 8d 7b 28 lea 0x28(%rbx),%rdi 1f: 48 89 fa mov %rdi,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx * 26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2a: 0f 85 69 18 00 00 jne 0x1899 30: 48 8b 4b 28 mov 0x28(%rbx),%rcx 34: 49 63 c4 movslq %r12d,%rax 37: 48 8d 44 40 03 lea 0x3(%rax,%rax,2),%rax