gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:5453 [syz-executor.0] __gfs2_lookup+0xa4/0x270 fs/gfs2/inode.c:894 general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 0 PID: 5481 Comm: syz-executor.0 Not tainted 6.6.0-rc4-syzkaller-gce36c8b14987 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1457 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2259 [inline] RIP: 0010:gfs2_dump_glock+0xf05/0x1ba0 fs/gfs2/glock.c:2375 Code: c6 05 59 ad c7 0a 01 48 c7 c7 40 af 4d 8b be ef 02 00 00 48 c7 c2 80 af 4d 8b e8 e6 f5 af fd 4d 8d 75 20 4d 89 f7 49 c1 ef 03 <43> 0f b6 04 27 84 c0 0f 85 b6 06 00 00 41 0f b7 1e 89 de 81 e6 00 RSP: 0018:ffffc90004faf160 EFLAGS: 00010202 RAX: ffffffff83bdb9b2 RBX: 0000000000000001 RCX: ffff88801a2e1dc0 RDX: 0000000000000000 RSI: ffffffff8b599c80 RDI: ffffffff8b599c40 RBP: ffffc90004faf450 R08: ffffffff83bdb99b R09: 1ffffffff20df670 R10: dffffc0000000000 R11: fffffbfff20df671 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000000021 R15: 0000000000000004 FS: 00007f054310f6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcc64568378 CR3: 000000007dbef000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_inode_i+0xf5/0x110 fs/gfs2/util.c:456 gfs2_dirent_scan+0x512/0x640 fs/gfs2/dir.c:602 gfs2_dirent_search+0x30e/0x8c0 fs/gfs2/dir.c:850 gfs2_dir_search+0xb2/0x2f0 fs/gfs2/dir.c:1650 gfs2_lookupi+0x460/0x5d0 fs/gfs2/inode.c:338 __gfs2_lookup+0xa4/0x270 fs/gfs2/inode.c:894 gfs2_atomic_open+0x9e/0x230 fs/gfs2/inode.c:1295 atomic_open fs/namei.c:3358 [inline] lookup_open fs/namei.c:3466 [inline] open_last_lookups fs/namei.c:3563 [inline] path_openat+0x1044/0x3180 fs/namei.c:3793 do_filp_open+0x234/0x490 fs/namei.c:3823 do_sys_openat2+0x13e/0x1d0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1448 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f054247cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007f054310f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f054259c050 RCX: 00007f054247cae9 RDX: 0000000000000300 RSI: 0000000020000540 RDI: ffffffffffffff9c RBP: 00007f05424c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f054259c050 R15: 00007ffd4e76c138 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:2259 [inline] RIP: 0010:gfs2_dump_glock+0xf05/0x1ba0 fs/gfs2/glock.c:2375 Code: c6 05 59 ad c7 0a 01 48 c7 c7 40 af 4d 8b be ef 02 00 00 48 c7 c2 80 af 4d 8b e8 e6 f5 af fd 4d 8d 75 20 4d 89 f7 49 c1 ef 03 <43> 0f b6 04 27 84 c0 0f 85 b6 06 00 00 41 0f b7 1e 89 de 81 e6 00 RSP: 0018:ffffc90004faf160 EFLAGS: 00010202 RAX: ffffffff83bdb9b2 RBX: 0000000000000001 RCX: ffff88801a2e1dc0 RDX: 0000000000000000 RSI: ffffffff8b599c80 RDI: ffffffff8b599c40 RBP: ffffc90004faf450 R08: ffffffff83bdb99b R09: 1ffffffff20df670 R10: dffffc0000000000 R11: fffffbfff20df671 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000000021 R15: 0000000000000004 FS: 00007f054310f6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcc64568378 CR3: 000000007dbef000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c6 05 59 ad c7 0a 01 movb $0x1,0xac7ad59(%rip) # 0xac7ad60 7: 48 c7 c7 40 af 4d 8b mov $0xffffffff8b4daf40,%rdi e: be ef 02 00 00 mov $0x2ef,%esi 13: 48 c7 c2 80 af 4d 8b mov $0xffffffff8b4daf80,%rdx 1a: e8 e6 f5 af fd call 0xfdaff605 1f: 4d 8d 75 20 lea 0x20(%r13),%r14 23: 4d 89 f7 mov %r14,%r15 26: 49 c1 ef 03 shr $0x3,%r15 * 2a: 43 0f b6 04 27 movzbl (%r15,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 b6 06 00 00 jne 0x6ed 37: 41 0f b7 1e movzwl (%r14),%ebx 3b: 89 de mov %ebx,%esi 3d: 81 .byte 0x81 3e: e6 00 out %al,$0x0