REISERFS (device loop0): Using r5 hash to sort names REISERFS (device loop0): using 3.5.x disk format REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. 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 532. Fsck? REISERFS (device loop0): Remounting filesystem read-only 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: 5014 Comm: syz.0.16 Not tainted 5.15.185-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:direct2indirect+0x703/0x10d0 fs/reiserfs/tail_conversion.c:119 Code: c1 e3 04 49 8d 5c 1e 08 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 5d 03 00 00 4c 63 23 49 83 c7 28 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 be 81 be ff 49 8b 1f 4f 8d 3c 64 RSP: 0018:ffffc90002eff1a0 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc90002eff6b0 RCX: ffff88801b7e9dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000008 RBP: ffffc90002eff330 R08: ffff88801b7e9dc0 R09: 0000000000000002 R10: 00000000fffffffe R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc90002eff698 R15: 0000000000000028 FS: 00007f2ab2bb76c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2307b0e000 CR3: 000000005fafd000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_get_block+0x3e27/0x4100 fs/reiserfs/inode.c:957 __block_write_begin_int+0x54e/0x15a0 fs/buffer.c:2012 reiserfs_write_begin+0x34b/0x810 fs/reiserfs/inode.c:2790 generic_perform_write+0x2aa/0x530 mm/filemap.c:3785 __generic_file_write_iter+0x25f/0x4e0 mm/filemap.c:3912 generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x712/0xd00 fs/read_write.c:594 ksys_write+0x14d/0x250 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f2ab3946169 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:00007f2ab2bb7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2ab3b5efa0 RCX: 00007f2ab3946169 RDX: 0000000000000014 RSI: 0000200000000080 RDI: 0000000000000004 RBP: 00007f2ab39c72a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2ab3b5efa0 R15: 00007fffa07d5fa8 Modules linked in: ---[ end trace d31070c66bb9d681 ]--- 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:direct2indirect+0x703/0x10d0 fs/reiserfs/tail_conversion.c:119 Code: c1 e3 04 49 8d 5c 1e 08 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 5d 03 00 00 4c 63 23 49 83 c7 28 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 be 81 be ff 49 8b 1f 4f 8d 3c 64 RSP: 0018:ffffc90002eff1a0 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc90002eff6b0 RCX: ffff88801b7e9dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000008 RBP: ffffc90002eff330 R08: ffff88801b7e9dc0 R09: 0000000000000002 R10: 00000000fffffffe R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc90002eff698 R15: 0000000000000028 FS: 00007f2ab2bb76c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005628f6f89950 CR3: 000000005fafd000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c1 e3 04 shl $0x4,%ebx 3: 49 8d 5c 1e 08 lea 0x8(%r14,%rbx,1),%rbx 8: 48 89 d8 mov %rbx,%rax b: 48 c1 e8 03 shr $0x3,%rax f: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax 14: 84 c0 test %al,%al 16: 0f 85 5d 03 00 00 jne 0x379 1c: 4c 63 23 movslq (%rbx),%r12 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 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 be 81 be ff call 0xffbe81f7 39: 49 8b 1f mov (%r15),%rbx 3c: 4f 8d 3c 64 lea (%r12,%r12,2),%r15