function = gfs2_dirent_scan, file = fs/gfs2/dir.c, line = 602 gfs2: fsid=syz:syz.0: G: s:SH n:2/925 f:qob t:SH d:EX/0 a:0 v:0 r:3 m:20 p:1 gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:5240 [syz-executor237] __gfs2_lookup+0xa1/0x290 fs/gfs2/inode.c:896 gfs2: fsid=syz:syz.0: H: s:SH f:AH e:0 p:5242 [syz-executor237] do_inode_permission fs/namei.c:462 [inline] gfs2: fsid=syz:syz.0: H: s:SH f:AH e:0 p:5242 [syz-executor237] inode_permission fs/namei.c:529 [inline] gfs2: fsid=syz:syz.0: H: s:SH f:AH e:0 p:5242 [syz-executor237] inode_permission+0x384/0x5e0 fs/namei.c:504 general protection fault, probably for non-canonical address 0xdffffc0000001024: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000000008120-0x0000000000008127] CPU: 1 PID: 5240 Comm: syz-executor237 Not tainted 6.7.0-rc1-syzkaller-00012-g9bacdd8996c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1457 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2254 [inline] RIP: 0010:gfs2_dump_glock+0x11d3/0x1c80 fs/gfs2/glock.c:2370 Code: e8 32 66 dc 06 31 ff 89 c3 89 c6 e8 27 28 e4 fd 85 db 58 0f 85 75 04 00 00 e8 a9 2c e4 fd 49 8d 5c 24 20 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 01 0f 8e 79 06 00 00 41 0f b7 6c 24 RSP: 0018:ffffc9000374f208 EFLAGS: 00010206 RAX: 0000000000001024 RBX: 0000000000008120 RCX: ffffffff83a25eec RDX: ffff88807e30e180 RSI: ffffffff83a25a67 RDI: 0000000000000001 RBP: ffffffff8b19c320 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000008100 R13: ffffc9000374f2f8 R14: ffffc9000377f922 R15: dffffc0000000000 FS: 00007f44d5f3d6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f44d5f3e000 CR3: 000000001f90c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_inode_i+0x104/0x150 fs/gfs2/util.c:456 gfs2_dirent_scan+0x2f9/0x3c0 fs/gfs2/dir.c:602 gfs2_dirent_search+0x455/0x5c0 fs/gfs2/dir.c:850 gfs2_dir_search+0x98/0x2e0 fs/gfs2/dir.c:1650 gfs2_lookupi+0x4b6/0x6e0 fs/gfs2/inode.c:340 __gfs2_lookup+0xa1/0x290 fs/gfs2/inode.c:896 gfs2_atomic_open+0xd9/0x240 fs/gfs2/inode.c:1297 atomic_open fs/namei.c:3340 [inline] lookup_open.isra.0+0xc8e/0x13b0 fs/namei.c:3448 open_last_lookups fs/namei.c:3546 [inline] path_openat+0x922/0x2c50 fs/namei.c:3776 do_filp_open+0x1de/0x430 fs/namei.c:3809 do_sys_openat2+0x176/0x1e0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_open fs/open.c:1463 [inline] __se_sys_open fs/open.c:1459 [inline] __x64_sys_open+0x154/0x1e0 fs/open.c:1459 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f44d5f80a59 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 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:00007f44d5f3d218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f44d601a6a8 RCX: 00007f44d5f80a59 RDX: 0000000000000008 RSI: 0000000000000002 RDI: 0000000020000280 RBP: 00007f44d601a6a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f44d601a6ac R13: 0030656c69662f2e R14: 00007f44d5fd50c0 R15: 0032656c69662f2e 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:2254 [inline] RIP: 0010:gfs2_dump_glock+0x11d3/0x1c80 fs/gfs2/glock.c:2370 Code: e8 32 66 dc 06 31 ff 89 c3 89 c6 e8 27 28 e4 fd 85 db 58 0f 85 75 04 00 00 e8 a9 2c e4 fd 49 8d 5c 24 20 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 01 0f 8e 79 06 00 00 41 0f b7 6c 24 RSP: 0018:ffffc9000374f208 EFLAGS: 00010206 RAX: 0000000000001024 RBX: 0000000000008120 RCX: ffffffff83a25eec RDX: ffff88807e30e180 RSI: ffffffff83a25a67 RDI: 0000000000000001 RBP: ffffffff8b19c320 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000008100 R13: ffffc9000374f2f8 R14: ffffc9000377f922 R15: dffffc0000000000 FS: 00007f44d5f3d6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f44d5fbc950 CR3: 000000001f90c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 32 66 dc 06 call 0x6dc6637 5: 31 ff xor %edi,%edi 7: 89 c3 mov %eax,%ebx 9: 89 c6 mov %eax,%esi b: e8 27 28 e4 fd call 0xfde42837 10: 85 db test %ebx,%ebx 12: 58 pop %rax 13: 0f 85 75 04 00 00 jne 0x48e 19: e8 a9 2c e4 fd call 0xfde42cc7 1e: 49 8d 5c 24 20 lea 0x20(%r12),%rbx 23: 48 89 d8 mov %rbx,%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 79 06 00 00 jle 0x6b4 3b: 41 rex.B 3c: 0f .byte 0xf 3d: b7 6c mov $0x6c,%bh 3f: 24 .byte 0x24