general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 1 PID: 1770 Comm: syz-executor.1 Not tainted 6.3.0-rc3-syzkaller-00016-g2faac9a98f01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1457 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2266 [inline] RIP: 0010:gfs2_dump_glock+0xd3f/0x1ca0 fs/gfs2/glock.c:2382 Code: e8 f6 9e 71 06 31 ff 89 c3 89 c6 e8 6b a8 f2 fd 85 db 58 0f 85 7c 08 00 00 e8 0d ac f2 fd 4d 8d 74 24 20 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 01 0f 8e 2a 0b 00 00 41 0f b7 6c 24 RSP: 0018:ffffc900061a7250 EFLAGS: 00010212 RAX: 0000000000000004 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880acded7c0 RSI: ffffffff839038f3 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff8a979ba0 R14: 0000000000000021 R15: dffffc0000000000 FS: 00007fc310e53700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc310e32718 CR3: 00000001519f3000 CR4: 0000000000350ee0 Call Trace: gfs2_consist_inode_i+0x104/0x150 fs/gfs2/util.c:465 gfs2_dirent_scan+0x32a/0x3d0 fs/gfs2/dir.c:602 gfs2_dirent_search+0x47d/0x580 fs/gfs2/dir.c:850 gfs2_dir_search+0x8d/0x2d0 fs/gfs2/dir.c:1650 gfs2_lookupi+0x481/0x640 fs/gfs2/inode.c:332 __gfs2_lookup+0x83/0x280 fs/gfs2/inode.c:888 gfs2_atomic_open+0xde/0x250 fs/gfs2/inode.c:1292 atomic_open fs/namei.c:3279 [inline] lookup_open.isra.0+0xcdf/0x1400 fs/namei.c:3387 open_last_lookups fs/namei.c:3484 [inline] path_openat+0x975/0x2750 fs/namei.c:3712 do_filp_open+0x1ba/0x410 fs/namei.c:3742 do_sys_openat2+0x16d/0x4c0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_open fs/open.c:1372 [inline] __se_sys_open fs/open.c:1368 [inline] __x64_sys_open+0x11d/0x1c0 fs/open.c:1368 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc31008c0f9 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:00007fc310e53168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fc3101ac050 RCX: 00007fc31008c0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007fc3100e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffecb7ed81f R14: 00007fc310e53300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1457 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2266 [inline] RIP: 0010:gfs2_dump_glock+0xd3f/0x1ca0 fs/gfs2/glock.c:2382 Code: e8 f6 9e 71 06 31 ff 89 c3 89 c6 e8 6b a8 f2 fd 85 db 58 0f 85 7c 08 00 00 e8 0d ac f2 fd 4d 8d 74 24 20 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 01 0f 8e 2a 0b 00 00 41 0f b7 6c 24 RSP: 0018:ffffc900061a7250 EFLAGS: 00010212 RAX: 0000000000000004 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880acded7c0 RSI: ffffffff839038f3 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff8a979ba0 R14: 0000000000000021 R15: dffffc0000000000 FS: 00007fc310e53700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc310e10fc0 CR3: 00000001519f3000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: e8 f6 9e 71 06 callq 0x6719efb 5: 31 ff xor %edi,%edi 7: 89 c3 mov %eax,%ebx 9: 89 c6 mov %eax,%esi b: e8 6b a8 f2 fd callq 0xfdf2a87b 10: 85 db test %ebx,%ebx 12: 58 pop %rax 13: 0f 85 7c 08 00 00 jne 0x895 19: e8 0d ac f2 fd callq 0xfdf2ac2b 1e: 4d 8d 74 24 20 lea 0x20(%r12),%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 74 08 je 0x3b 33: 3c 01 cmp $0x1,%al 35: 0f 8e 2a 0b 00 00 jle 0xb65 3b: 41 rex.B 3c: 0f .byte 0xf 3d: b7 6c mov $0x6c,%bh 3f: 24 .byte 0x24