REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[2 3 0(1) DIR], item_len 35, item_location 3629, free_space(entry_count) 2 REISERFS error (device loop1): vs-5150 search_by_key: invalid format found in block 584. Fsck? REISERFS (device loop1): 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: 4586 Comm: syz.1.60 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/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 2e 78 be ff 49 8b 1f 4f 8d 3c 64 RSP: 0018:ffffc9000434f040 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc9000434f550 RCX: 0000000000080000 RDX: ffffc90004c39000 RSI: 000000000000a6b6 RDI: 000000000000a6b7 RBP: ffffc9000434f1d0 R08: ffff88802c259dc0 R09: 0000000000000002 R10: 00000000fffffffe R11: 0000000000000002 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc9000434f538 R15: 0000000000000028 FS: 00007f9a599fe6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c30ea2c CR3: 0000000058930000 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 do_iter_readv_writev+0x497/0x600 fs/read_write.c:-1 do_iter_write+0x205/0x7b0 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_pwritev+0x204/0x340 fs/read_write.c:1025 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:0x7f9a5b797749 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:00007f9a599fe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 RAX: ffffffffffffffda RBX: 00007f9a5b9edfa0 RCX: 00007f9a5b797749 RDX: 0000000000000001 RSI: 00002000000005c0 RDI: 0000000000000006 RBP: 00007f9a5b81bf91 R08: 000000000000b45f R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9a5b9ee038 R14: 00007f9a5b9edfa0 R15: 00007ffd344b8b18 Modules linked in: ---[ end trace e90e2304d5e93412 ]--- 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 2e 78 be ff 49 8b 1f 4f 8d 3c 64 RSP: 0018:ffffc9000434f040 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc9000434f550 RCX: 0000000000080000 RDX: ffffc90004c39000 RSI: 000000000000a6b6 RDI: 000000000000a6b7 RBP: ffffc9000434f1d0 R08: ffff88802c259dc0 R09: 0000000000000002 R10: 00000000fffffffe R11: 0000000000000002 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc9000434f538 R15: 0000000000000028 FS: 00007f9a599fe6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555589b895c8 CR3: 0000000058930000 CR4: 00000000003506e0 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 2e 78 be ff call 0xffbe7867 39: 49 8b 1f mov (%r15),%rbx 3c: 4f 8d 3c 64 lea (%r12,%r12,2),%r15