gfs2: fsid=syz:syz.0: H: s:?? f:c e:-1 p:0 [(none)] 0xffffffffffffffff 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: 6858 Comm: syz-executor.3 Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1437 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2262 [inline] RIP: 0010:gfs2_dump_glock+0xd9c/0x1ae0 fs/gfs2/glock.c:2376 Code: 8a ae c8 0a 01 48 c7 c7 80 9a 3c 8b be fe 02 00 00 48 c7 c2 c0 9a 3c 8b e8 71 a3 b1 fd 90 4d 8d 6c 24 20 4d 89 ee 49 c1 ee 03 <43> 0f b6 04 3e 84 c0 0f 85 45 07 00 00 41 0f b7 5d 00 89 de 81 e6 RSP: 0018:ffffc9000376f120 EFLAGS: 00010202 RAX: ffffffff83b9c0df RBX: ffff88807e2c2610 RCX: ffff88807e189d40 RDX: 0000000000000000 RSI: ffffffff8b4bc180 RDI: ffffffff8b4bc140 RBP: ffffc9000376f408 R08: dffffc0000000000 R09: fffffbfff20fc231 R10: fffffbfff20fc231 R11: 1ffffffff20fc230 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000004 R15: dffffc0000000000 FS: 00007febe1602700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555584108 CR3: 0000000028a07000 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+0x498/0x680 fs/gfs2/inode.c:328 __gfs2_lookup+0x8c/0x260 fs/gfs2/inode.c:880 gfs2_atomic_open+0xa4/0x230 fs/gfs2/inode.c:1284 atomic_open fs/namei.c:3276 [inline] lookup_open fs/namei.c:3384 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0xf15/0x2dd0 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:0x7febe088c0c9 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:00007febe1602168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007febe09ac050 RCX: 00007febe088c0c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007febe08e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd3ec5ac6f R14: 00007febe1602300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1437 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2262 [inline] RIP: 0010:gfs2_dump_glock+0xd9c/0x1ae0 fs/gfs2/glock.c:2376 Code: 8a ae c8 0a 01 48 c7 c7 80 9a 3c 8b be fe 02 00 00 48 c7 c2 c0 9a 3c 8b e8 71 a3 b1 fd 90 4d 8d 6c 24 20 4d 89 ee 49 c1 ee 03 <43> 0f b6 04 3e 84 c0 0f 85 45 07 00 00 41 0f b7 5d 00 89 de 81 e6 RSP: 0018:ffffc9000376f120 EFLAGS: 00010202 RAX: ffffffff83b9c0df RBX: ffff88807e2c2610 RCX: ffff88807e189d40 RDX: 0000000000000000 RSI: ffffffff8b4bc180 RDI: ffffffff8b4bc140 RBP: ffffc9000376f408 R08: dffffc0000000000 R09: fffffbfff20fc231 R10: fffffbfff20fc231 R11: 1ffffffff20fc230 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000004 R15: dffffc0000000000 FS: 00007febe1602700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00f248808 CR3: 0000000028a07000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8a ae c8 0a 01 48 mov 0x48010ac8(%rsi),%ch 6: c7 c7 80 9a 3c 8b mov $0x8b3c9a80,%edi c: be fe 02 00 00 mov $0x2fe,%esi 11: 48 c7 c2 c0 9a 3c 8b mov $0xffffffff8b3c9ac0,%rdx 18: e8 71 a3 b1 fd callq 0xfdb1a38e 1d: 90 nop 1e: 4d 8d 6c 24 20 lea 0x20(%r12),%r13 23: 4d 89 ee mov %r13,%r14 26: 49 c1 ee 03 shr $0x3,%r14 * 2a: 43 0f b6 04 3e movzbl (%r14,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 45 07 00 00 jne 0x77c 37: 41 0f b7 5d 00 movzwl 0x0(%r13),%ebx 3c: 89 de mov %ebx,%esi 3e: 81 .byte 0x81 3f: e6 .byte 0xe6