gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:22368 [syz-executor.2] __gfs2_lookup+0x8c/0x260 fs/gfs2/inode.c:870 general protection fault, probably for non-canonical address 0xdffffc000000041a: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x00000000000020d0-0x00000000000020d7] CPU: 1 PID: 22440 Comm: syz-executor.2 Not tainted 6.1.0-rc7-syzkaller-00190-g97ee9d1c1696 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:pid_nr include/linux/pid.h:185 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2337 [inline] RIP: 0010:gfs2_dump_glock+0xe36/0x1b60 fs/gfs2/glock.c:2447 Code: e8 2f 9e 29 fe 48 8b 1b 48 85 db 74 37 e8 e2 7b d5 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 01 09 00 00 45 8b 3f eb 11 66 0f 1f 84 00 RSP: 0018:ffffc90006167120 EFLAGS: 00010202 RAX: 000000000000041a RBX: 0000000000002001 RCX: dffffc0000000000 RDX: ffffc9000b169000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90006167408 R08: ffffffff83b51dcc R09: fffffbfff20b2e29 R10: fffffbfff20b2e29 R11: 1ffffffff20b2e28 R12: ffff888018338020 R13: ffff888018338000 R14: 1ffff11003067004 R15: 00000000000020d1 FS: 00007f340eb96700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f340dfa8008 CR3: 000000002dfb2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_inode_i+0xf3/0x110 fs/gfs2/util.c:465 gfs2_dirent_scan+0x535/0x650 fs/gfs2/dir.c:602 gfs2_dirent_search+0x2ea/0xb10 fs/gfs2/dir.c:850 gfs2_dir_search+0x8c/0x2a0 fs/gfs2/dir.c:1650 gfs2_lookupi+0x465/0x650 fs/gfs2/inode.c:323 __gfs2_lookup+0x8c/0x260 fs/gfs2/inode.c:870 gfs2_atomic_open+0xa4/0x230 fs/gfs2/inode.c:1274 atomic_open fs/namei.c:3276 [inline] lookup_open fs/namei.c:3384 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0xf39/0x2df0 fs/namei.c:3711 do_filp_open+0x264/0x4f0 fs/namei.c:3741 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_open fs/open.c:1334 [inline] __se_sys_open fs/open.c:1330 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1330 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+0x63/0xcd RIP: 0033:0x7f340de8c0d9 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:00007f340eb96168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f340dfac120 RCX: 00007f340de8c0d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020001700 RBP: 00007f340dee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffde1e36f8f R14: 00007f340eb96300 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:2337 [inline] RIP: 0010:gfs2_dump_glock+0xe36/0x1b60 fs/gfs2/glock.c:2447 Code: e8 2f 9e 29 fe 48 8b 1b 48 85 db 74 37 e8 e2 7b d5 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 01 09 00 00 45 8b 3f eb 11 66 0f 1f 84 00 RSP: 0018:ffffc90006167120 EFLAGS: 00010202 RAX: 000000000000041a RBX: 0000000000002001 RCX: dffffc0000000000 RDX: ffffc9000b169000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90006167408 R08: ffffffff83b51dcc R09: fffffbfff20b2e29 R10: fffffbfff20b2e29 R11: 1ffffffff20b2e28 R12: ffff888018338020 R13: ffff888018338000 R14: 1ffff11003067004 R15: 00000000000020d1 FS: 00007f340eb96700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f340ebb79e0 CR3: 000000002dfb2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 2f 9e 29 fe callq 0xfe299e34 5: 48 8b 1b mov (%rbx),%rbx 8: 48 85 db test %rbx,%rbx b: 74 37 je 0x44 d: e8 e2 7b d5 fd callq 0xfdd57bf4 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 01 09 00 00 jne 0x937 36: 45 8b 3f mov (%r15),%r15d 39: eb 11 jmp 0x4c 3b: 66 data16 3c: 0f .byte 0xf 3d: 1f (bad) 3e: 84 00 test %al,(%rax)