gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:4996 [syz.1.282] __gfs2_lookup+0xa0/0x270 fs/gfs2/inode.c:870 general protection fault, probably for non-canonical address 0xe3fffb2400113fe6: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x1ffff9200089ff30-0x1ffff9200089ff37] CPU: 1 PID: 5040 Comm: syz.1.282 Not tainted 6.1.97-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1468 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2337 [inline] RIP: 0010:gfs2_dump_glock+0xe1b/0x1ba0 fs/gfs2/glock.c:2451 Code: c6 05 95 ff a9 0a 01 48 c7 c7 00 8f 30 8b be 19 03 00 00 48 c7 c2 40 8f 30 8b e8 d0 55 b5 fd 4d 8d 65 20 4d 89 e6 49 c1 ee 03 <41> 0f b6 04 1e 84 c0 0f 85 64 07 00 00 41 0f b7 1c 24 89 de 81 e6 RSP: 0018:ffffc900055df0e0 EFLAGS: 00010203 RAX: ffffffff83b56dd0 RBX: dffffc0000000000 RCX: 0000000000040000 RDX: ffffc90005791000 RSI: 0000000000015f83 RDI: 0000000000015f84 RBP: ffffc900055df3d0 R08: ffffffff83b56db9 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200089ff35 R13: 1ffff9200089ff15 R14: 03ffff2400113fe6 R15: dffffc0000000000 FS: 00007ff5c8dff6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c39332f CR3: 000000007e809000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_inode_i+0xf1/0x110 fs/gfs2/util.c:464 gfs2_dirent_scan+0x512/0x640 fs/gfs2/dir.c:602 gfs2_dirent_search+0x30a/0x8c0 fs/gfs2/dir.c:850 gfs2_dir_search+0xae/0x2f0 fs/gfs2/dir.c:1650 gfs2_lookupi+0x45f/0x5e0 fs/gfs2/inode.c:323 __gfs2_lookup+0xa0/0x270 fs/gfs2/inode.c:870 __lookup_slow+0x27e/0x3d0 fs/namei.c:1690 lookup_slow+0x53/0x70 fs/namei.c:1707 walk_component+0x2d0/0x400 fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2479 filename_lookup+0x251/0x600 fs/namei.c:2508 vfs_statx+0x107/0x4b0 fs/stat.c:229 vfs_fstatat fs/stat.c:267 [inline] vfs_lstat include/linux/fs.h:3372 [inline] __do_sys_newlstat fs/stat.c:423 [inline] __se_sys_newlstat fs/stat.c:417 [inline] __x64_sys_newlstat+0xf7/0x180 fs/stat.c:417 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff5c8f75bd9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff5c8dff048 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 00007ff5c9104038 RCX: 00007ff5c8f75bd9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000480 RBP: 00007ff5c8fe4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007ff5c9104038 R15: 00007ffe1047f5c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1468 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2337 [inline] RIP: 0010:gfs2_dump_glock+0xe1b/0x1ba0 fs/gfs2/glock.c:2451 Code: c6 05 95 ff a9 0a 01 48 c7 c7 00 8f 30 8b be 19 03 00 00 48 c7 c2 40 8f 30 8b e8 d0 55 b5 fd 4d 8d 65 20 4d 89 e6 49 c1 ee 03 <41> 0f b6 04 1e 84 c0 0f 85 64 07 00 00 41 0f b7 1c 24 89 de 81 e6 RSP: 0018:ffffc900055df0e0 EFLAGS: 00010203 RAX: ffffffff83b56dd0 RBX: dffffc0000000000 RCX: 0000000000040000 RDX: ffffc90005791000 RSI: 0000000000015f83 RDI: 0000000000015f84 RBP: ffffc900055df3d0 R08: ffffffff83b56db9 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200089ff35 R13: 1ffff9200089ff15 R14: 03ffff2400113fe6 R15: dffffc0000000000 FS: 00007ff5c8dff6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc33b45fe8 CR3: 000000007e809000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c6 05 95 ff a9 0a 01 movb $0x1,0xaa9ff95(%rip) # 0xaa9ff9c 7: 48 c7 c7 00 8f 30 8b mov $0xffffffff8b308f00,%rdi e: be 19 03 00 00 mov $0x319,%esi 13: 48 c7 c2 40 8f 30 8b mov $0xffffffff8b308f40,%rdx 1a: e8 d0 55 b5 fd call 0xfdb555ef 1f: 4d 8d 65 20 lea 0x20(%r13),%r12 23: 4d 89 e6 mov %r12,%r14 26: 49 c1 ee 03 shr $0x3,%r14 * 2a: 41 0f b6 04 1e movzbl (%r14,%rbx,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 64 07 00 00 jne 0x79b 37: 41 0f b7 1c 24 movzwl (%r12),%ebx 3c: 89 de mov %ebx,%esi 3e: 81 .byte 0x81 3f: e6 .byte 0xe6