gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:6755 [syz-executor.5] __gfs2_lookup+0xa4/0x270 fs/gfs2/inode.c:880 general protection fault, probably for non-canonical address 0xdffffc000000001b: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000d8-0x00000000000000df] CPU: 0 PID: 6754 Comm: syz-executor.5 Not tainted 6.2.0-rc8-syzkaller-00151-g925cf0457d7e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:pid_nr include/linux/pid.h:185 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2266 [inline] RIP: 0010:gfs2_dump_glock+0xdf7/0x1a00 fs/gfs2/glock.c:2376 Code: e8 5e 27 26 fe 48 8b 1b 48 85 db 74 2e e8 21 ee d0 fd 4c 8d bb d0 00 00 00 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 15 08 00 00 45 8b 3f eb 08 e8 f3 ed d0 fd RSP: 0018:ffffc9001530edc0 EFLAGS: 00010206 RAX: 000000000000001b RBX: 0000000000000008 RCX: dffffc0000000000 RDX: ffffc9000a742000 RSI: 000000000002ddfa RDI: 000000000002ddfb RBP: ffffc9001530f0b0 R08: ffffffff83bae560 R09: fffffbfff2038631 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8ae95448 R13: 1ffffffff15d2a8d R14: ffffffff8ae95468 R15: 00000000000000d8 FS: 00007f72143fe700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f66d4ed5000 CR3: 000000002a54c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_inode_i+0xf5/0x110 fs/gfs2/util.c:465 gfs2_dirent_scan+0x512/0x640 fs/gfs2/dir.c:602 gfs2_dirent_search+0x30e/0x8c0 fs/gfs2/dir.c:850 gfs2_dir_search+0xb2/0x2f0 fs/gfs2/dir.c:1650 gfs2_lookupi+0x460/0x5d0 fs/gfs2/inode.c:328 __gfs2_lookup+0xa4/0x270 fs/gfs2/inode.c:880 __lookup_slow+0x282/0x3e0 fs/namei.c:1685 lookup_slow+0x53/0x70 fs/namei.c:1702 walk_component fs/namei.c:1993 [inline] link_path_walk+0x995/0xeb0 fs/namei.c:2320 path_lookupat+0xa9/0x450 fs/namei.c:2473 do_o_path+0x95/0x230 fs/namei.c:3685 path_openat+0x2843/0x2e40 fs/namei.c:3707 do_filp_open+0x234/0x490 fs/namei.c:3741 do_sys_openat2+0x13f/0x500 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f721cc8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f72143fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f721cdac050 RCX: 00007f721cc8c0f9 RDX: 0000000000200002 RSI: 00000000200001c0 RDI: ffffffffffffff9c RBP: 00007f721cce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf75d3f1f R14: 00007f72143fe300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_nr include/linux/pid.h:185 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2266 [inline] RIP: 0010:gfs2_dump_glock+0xdf7/0x1a00 fs/gfs2/glock.c:2376 Code: e8 5e 27 26 fe 48 8b 1b 48 85 db 74 2e e8 21 ee d0 fd 4c 8d bb d0 00 00 00 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 15 08 00 00 45 8b 3f eb 08 e8 f3 ed d0 fd RSP: 0018:ffffc9001530edc0 EFLAGS: 00010206 RAX: 000000000000001b RBX: 0000000000000008 RCX: dffffc0000000000 RDX: ffffc9000a742000 RSI: 000000000002ddfa RDI: 000000000002ddfb RBP: ffffc9001530f0b0 R08: ffffffff83bae560 R09: fffffbfff2038631 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8ae95448 R13: 1ffffffff15d2a8d R14: ffffffff8ae95468 R15: 00000000000000d8 FS: 00007f72143fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f69061d5000 CR3: 000000002a54c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 5e 27 26 fe callq 0xfe262763 5: 48 8b 1b mov (%rbx),%rbx 8: 48 85 db test %rbx,%rbx b: 74 2e je 0x3b d: e8 21 ee d0 fd callq 0xfdd0ee33 12: 4c 8d bb d0 00 00 00 lea 0xd0(%rbx),%r15 19: 4c 89 f8 mov %r15,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 15 08 00 00 jne 0x84b 36: 45 8b 3f mov (%r15),%r15d 39: eb 08 jmp 0x43 3b: e8 f3 ed d0 fd callq 0xfdd0ee33