general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 1 PID: 6787 Comm: syz.4.1067 Not tainted 6.1.109-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1466 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2326 [inline] RIP: 0010:gfs2_dump_glock+0xe00/0x1b00 fs/gfs2/glock.c:2440 Code: c6 05 c4 28 cf 0a 01 48 c7 c7 e0 b1 50 8b be 19 03 00 00 48 c7 c2 20 b2 50 8b e8 3b 99 b4 fd 4d 8d 77 20 4d 89 f4 49 c1 ec 03 <43> 0f b6 04 2c 84 c0 0f 85 0e 07 00 00 41 0f b7 1e 89 de 81 e6 00 RSP: 0018:ffffc90018fcf1a0 EFLAGS: 00010207 RAX: ffffffff83b6460d RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90011d1f000 RSI: 000000000001d985 RDI: 000000000001d986 RBP: ffffc90018fcf490 R08: ffffffff83b645f6 R09: fffffbfff223b645 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000000c R13: dffffc0000000000 R14: 0000000000000066 R15: 0000000000000046 FS: 00007f3f215386c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f412ff8 CR3: 00000000552ad000 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:467 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 kern_path+0x31/0x50 fs/namei.c:2606 lookup_bdev+0xc1/0x280 block/bdev.c:983 btrfs_control_ioctl+0x1e1/0x420 fs/btrfs/super.c:2511 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 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:0x7f3f2077def9 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:00007f3f21538038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3f20936058 RCX: 00007f3f2077def9 RDX: 00000000200004c0 RSI: 0000000050009405 RDI: 0000000000000004 RBP: 00007f3f207f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3f20936058 R15: 00007ffeedbb8bd8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1466 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2326 [inline] RIP: 0010:gfs2_dump_glock+0xe00/0x1b00 fs/gfs2/glock.c:2440 Code: c6 05 c4 28 cf 0a 01 48 c7 c7 e0 b1 50 8b be 19 03 00 00 48 c7 c2 20 b2 50 8b e8 3b 99 b4 fd 4d 8d 77 20 4d 89 f4 49 c1 ec 03 <43> 0f b6 04 2c 84 c0 0f 85 0e 07 00 00 41 0f b7 1e 89 de 81 e6 00 RSP: 0018:ffffc90018fcf1a0 EFLAGS: 00010207 RAX: ffffffff83b6460d RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90011d1f000 RSI: 000000000001d985 RDI: 000000000001d986 RBP: ffffc90018fcf490 R08: ffffffff83b645f6 R09: fffffbfff223b645 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000000c R13: dffffc0000000000 R14: 0000000000000066 R15: 0000000000000046 FS: 00007f3f215386c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f412ff8 CR3: 00000000552ad000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c6 05 c4 28 cf 0a 01 movb $0x1,0xacf28c4(%rip) # 0xacf28cb 7: 48 c7 c7 e0 b1 50 8b mov $0xffffffff8b50b1e0,%rdi e: be 19 03 00 00 mov $0x319,%esi 13: 48 c7 c2 20 b2 50 8b mov $0xffffffff8b50b220,%rdx 1a: e8 3b 99 b4 fd call 0xfdb4995a 1f: 4d 8d 77 20 lea 0x20(%r15),%r14 23: 4d 89 f4 mov %r14,%r12 26: 49 c1 ec 03 shr $0x3,%r12 * 2a: 43 0f b6 04 2c movzbl (%r12,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 0e 07 00 00 jne 0x745 37: 41 0f b7 1e movzwl (%r14),%ebx 3b: 89 de mov %ebx,%esi 3d: 81 .byte 0x81 3e: e6 00 out %al,$0x0