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: 5652 Comm: syz-executor.3 Not tainted 6.1.0-rc8-next-20221207-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1506 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2386 [inline] RIP: 0010:gfs2_dump_glock+0xd36/0x1c60 fs/gfs2/glock.c:2500 Code: e8 3f 6d dc fd 31 ff 89 c3 89 c6 e8 44 bb f2 fd 84 db 58 0f 84 7b 08 00 00 e8 c6 be 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 fc 0a 00 00 41 0f b7 6c 24 RSP: 0018:ffffc900060d7240 EFLAGS: 00010202 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffffc9000dba6000 RDX: 0000000000040000 RSI: ffffffff838ee43a RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff8a97b6a0 R14: 0000000000000020 R15: dffffc0000000000 FS: 00007f36ece9d700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f36ece9d718 CR3: 00000000686b5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_inode_i+0x104/0x150 fs/gfs2/util.c:465 gfs2_dirent_scan+0x2f7/0x3a0 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+0x4da/0x6a0 fs/gfs2/inode.c:328 __gfs2_lookup+0x83/0x280 fs/gfs2/inode.c:880 gfs2_atomic_open+0xde/0x250 fs/gfs2/inode.c:1284 atomic_open fs/namei.c:3276 [inline] lookup_open.isra.0+0xb6c/0x1270 fs/namei.c:3384 open_last_lookups fs/namei.c:3481 [inline] path_openat+0x975/0x2a50 fs/namei.c:3711 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 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+0x143/0x1f0 fs/open.c:1337 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:0x7f36ec08c0d9 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:00007f36ece9d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f36ec1ac050 RCX: 00007f36ec08c0d9 RDX: 0000000000000000 RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00007f36ec0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc6d184e8f R14: 00007f36ece9d300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1506 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2386 [inline] RIP: 0010:gfs2_dump_glock+0xd36/0x1c60 fs/gfs2/glock.c:2500 Code: e8 3f 6d dc fd 31 ff 89 c3 89 c6 e8 44 bb f2 fd 84 db 58 0f 84 7b 08 00 00 e8 c6 be 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 fc 0a 00 00 41 0f b7 6c 24 RSP: 0018:ffffc900060d7240 EFLAGS: 00010202 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffffc9000dba6000 RDX: 0000000000040000 RSI: ffffffff838ee43a RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff8a97b6a0 R14: 0000000000000020 R15: dffffc0000000000 FS: 00007f36ece9d700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33824000 CR3: 00000000686b5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 3f 6d dc fd callq 0xfddc6d44 5: 31 ff xor %edi,%edi 7: 89 c3 mov %eax,%ebx 9: 89 c6 mov %eax,%esi b: e8 44 bb f2 fd callq 0xfdf2bb54 10: 84 db test %bl,%bl 12: 58 pop %rax 13: 0f 84 7b 08 00 00 je 0x894 19: e8 c6 be f2 fd callq 0xfdf2bee4 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 fc 0a 00 00 jle 0xb37 3b: 41 rex.B 3c: 0f .byte 0xf 3d: b7 6c mov $0x6c,%bh 3f: 24 .byte 0x24