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: 10159 Comm: syz-executor.0 Not tainted 5.15.139-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 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+0x8a7/0x1430 fs/reiserfs/tail_conversion.c:119 Code: d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 84 c0 0f 85 ea 02 00 00 48 63 1b 49 83 c4 28 4c 89 e0 48 c1 e8 03 <42> 80 3c 30 00 74 08 4c 89 e7 e8 da 5f b9 ff 4d 8b 34 24 48 8d 1c RSP: 0018:ffffc9000647f0a0 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90003673000 RSI: 00000000000161b6 RDI: 00000000000161b7 RBP: ffffc9000647f230 R08: ffffffff8210797d R09: ffffffff820f9e59 R10: 0000000000000002 R11: ffff888079221dc0 R12: 0000000000000028 R13: ffffc9000647f678 R14: dffffc0000000000 R15: 0000000000000010 FS: 00007f1a5ba126c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555828978 CR3: 000000001f5eb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_get_block+0x4e84/0x5390 fs/reiserfs/inode.c:957 __block_write_begin_int+0x60b/0x1650 fs/buffer.c:2012 reiserfs_write_begin+0x346/0x810 fs/reiserfs/inode.c:2790 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3776 __generic_file_write_iter+0x243/0x4f0 mm/filemap.c:3903 generic_file_write_iter+0xa7/0x1b0 mm/filemap.c:3935 call_write_iter include/linux/fs.h:2103 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacf/0xe50 fs/read_write.c:594 ksys_write+0x1a2/0x2c0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f1a5d490ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1a5ba120c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f1a5d5aff80 RCX: 00007f1a5d490ae9 RDX: 0000000000000001 RSI: 0000000020000280 RDI: 0000000000000004 RBP: 00007f1a5d4dc47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1a5d5aff80 R15: 00007ffe85b8f798 Modules linked in: ---[ end trace 10188ea05acf6f46 ]--- 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+0x8a7/0x1430 fs/reiserfs/tail_conversion.c:119 Code: d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 84 c0 0f 85 ea 02 00 00 48 63 1b 49 83 c4 28 4c 89 e0 48 c1 e8 03 <42> 80 3c 30 00 74 08 4c 89 e7 e8 da 5f b9 ff 4d 8b 34 24 48 8d 1c RSP: 0018:ffffc9000647f0a0 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90003673000 RSI: 00000000000161b6 RDI: 00000000000161b7 RBP: ffffc9000647f230 R08: ffffffff8210797d R09: ffffffff820f9e59 R10: 0000000000000002 R11: ffff888079221dc0 R12: 0000000000000028 R13: ffffc9000647f678 R14: dffffc0000000000 R15: 0000000000000010 FS: 00007f1a5ba126c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555828978 CR3: 000000001f5eb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 c1 e8 03 shr $0x3,%rax 4: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 b: fc ff df e: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 13: 84 c0 test %al,%al 15: 0f 85 ea 02 00 00 jne 0x305 1b: 48 63 1b movslq (%rbx),%rbx 1e: 49 83 c4 28 add $0x28,%r12 22: 4c 89 e0 mov %r12,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 e7 mov %r12,%rdi 33: e8 da 5f b9 ff call 0xffb96012 38: 4d 8b 34 24 mov (%r12),%r14 3c: 48 rex.W 3d: 8d .byte 0x8d 3e: 1c .byte 0x1c