REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[2 4106497 0(1) DIR], item_len 35, item_location 3937, free_space(entry_count) 2 REISERFS error (device loop1): vs-5150 search_by_key: invalid format found in block 531. 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: 3 PID: 23012 Comm: syz-executor.1 Not tainted 6.6.0-rc5-syzkaller-00055-g1c8b86a3799f #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:reiserfs_node_data fs/reiserfs/reiserfs.h:2183 [inline] RIP: 0010:item_head fs/reiserfs/reiserfs.h:2199 [inline] RIP: 0010:tp_item_head fs/reiserfs/reiserfs.h:2225 [inline] RIP: 0010:direct2indirect+0x817/0x10f0 fs/reiserfs/tail_conversion.c:119 Code: e3 06 00 00 4c 89 e2 49 63 44 24 08 48 c1 ea 03 80 3c 1a 00 0f 85 d7 06 00 00 4d 8b 24 24 49 8d 7c 24 28 48 89 fa 48 c1 ea 03 <80> 3c 1a 00 0f 85 d3 06 00 00 48 8d 54 40 03 49 8b 44 24 28 4c 8d RSP: 0018:ffffc900060bf2e0 EFLAGS: 00010206 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffffffff82298e8f RDI: 0000000000000028 RBP: ffffc900060bf470 R08: 0000000000000005 R09: 0000000000000001 R10: 00000000fffffffe R11: 5346524553494552 R12: 0000000000000000 R13: ffff888045318ed0 R14: 0000000000000001 R15: ffffc900060bf6e0 FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:00000000f7f9fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f735763c CR3: 0000000000a0d000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_get_block+0x3d63/0x47a0 fs/reiserfs/inode.c:949 __block_write_begin_int+0x3c0/0x1560 fs/buffer.c:2120 reiserfs_write_begin+0x351/0xa40 fs/reiserfs/inode.c:2771 generic_perform_write+0x278/0x600 mm/filemap.c:3969 __generic_file_write_iter+0x1f9/0x240 mm/filemap.c:4064 generic_file_write_iter+0xe3/0x350 mm/filemap.c:4090 call_write_iter include/linux/fs.h:1956 [inline] do_iter_readv_writev+0x21e/0x3c0 fs/read_write.c:735 do_iter_write+0x17f/0x830 fs/read_write.c:860 vfs_writev+0x221/0x700 fs/read_write.c:933 do_pwritev+0x1af/0x260 fs/read_write.c:1030 __do_compat_sys_pwritev2 fs/read_write.c:1176 [inline] __se_compat_sys_pwritev2 fs/read_write.c:1168 [inline] __ia32_compat_sys_pwritev2+0x121/0x1b0 fs/read_write.c:1168 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x61/0xe0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7fa4579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7f9f5ac EFLAGS: 00000292 ORIG_RAX: 000000000000017b RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020000100 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:reiserfs_node_data fs/reiserfs/reiserfs.h:2183 [inline] RIP: 0010:item_head fs/reiserfs/reiserfs.h:2199 [inline] RIP: 0010:tp_item_head fs/reiserfs/reiserfs.h:2225 [inline] RIP: 0010:direct2indirect+0x817/0x10f0 fs/reiserfs/tail_conversion.c:119 Code: e3 06 00 00 4c 89 e2 49 63 44 24 08 48 c1 ea 03 80 3c 1a 00 0f 85 d7 06 00 00 4d 8b 24 24 49 8d 7c 24 28 48 89 fa 48 c1 ea 03 <80> 3c 1a 00 0f 85 d3 06 00 00 48 8d 54 40 03 49 8b 44 24 28 4c 8d RSP: 0018:ffffc900060bf2e0 EFLAGS: 00010206 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffffffff82298e8f RDI: 0000000000000028 RBP: ffffc900060bf470 R08: 0000000000000005 R09: 0000000000000001 R10: 00000000fffffffe R11: 5346524553494552 R12: 0000000000000000 R13: ffff888045318ed0 R14: 0000000000000001 R15: ffffc900060bf6e0 FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:00000000f7f9fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f735763c CR3: 0000000000a0d000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e3 06 jrcxz 0x8 2: 00 00 add %al,(%rax) 4: 4c 89 e2 mov %r12,%rdx 7: 49 63 44 24 08 movslq 0x8(%r12),%rax c: 48 c1 ea 03 shr $0x3,%rdx 10: 80 3c 1a 00 cmpb $0x0,(%rdx,%rbx,1) 14: 0f 85 d7 06 00 00 jne 0x6f1 1a: 4d 8b 24 24 mov (%r12),%r12 1e: 49 8d 7c 24 28 lea 0x28(%r12),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 1a 00 cmpb $0x0,(%rdx,%rbx,1) <-- trapping instruction 2e: 0f 85 d3 06 00 00 jne 0x707 34: 48 8d 54 40 03 lea 0x3(%rax,%rax,2),%rdx 39: 49 8b 44 24 28 mov 0x28(%r12),%rax 3e: 4c rex.WR 3f: 8d .byte 0x8d