general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 0 PID: 4677 Comm: syz.4.288 Not tainted 6.1.106-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: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 49 7f cf 0a 01 48 c7 c7 c0 a9 50 8b be 19 03 00 00 48 c7 c2 00 aa 50 8b e8 70 e7 b4 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:ffffc90004e471a0 EFLAGS: 00010207 RAX: ffffffff83b5e7e0 RBX: dffffc0000000000 RCX: 0000000000040000 RDX: ffffc9000acfc000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90004e47490 R08: ffffffff83b5e7c9 R09: fffffbfff20e7645 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000066 R13: 0000000000000046 R14: 000000000000000c R15: dffffc0000000000 FS: 00007fc4637de6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c33b5ee CR3: 0000000065873000 CR4: 00000000003506f0 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 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:0x7fc463979e79 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:00007fc4637de038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc463b16058 RCX: 00007fc463979e79 RDX: 00000000200004c0 RSI: 0000000050009405 RDI: 0000000000000004 RBP: 00007fc4639e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc463b16058 R15: 00007fff41ce3a38 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 49 7f cf 0a 01 48 c7 c7 c0 a9 50 8b be 19 03 00 00 48 c7 c2 00 aa 50 8b e8 70 e7 b4 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:ffffc90004e471a0 EFLAGS: 00010207 RAX: ffffffff83b5e7e0 RBX: dffffc0000000000 RCX: 0000000000040000 RDX: ffffc9000acfc000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90004e47490 R08: ffffffff83b5e7c9 R09: fffffbfff20e7645 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000066 R13: 0000000000000046 R14: 000000000000000c R15: dffffc0000000000 FS: 00007fc4637de6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f01bff8 CR3: 0000000065873000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c6 05 49 7f cf 0a 01 movb $0x1,0xacf7f49(%rip) # 0xacf7f50 7: 48 c7 c7 c0 a9 50 8b mov $0xffffffff8b50a9c0,%rdi e: be 19 03 00 00 mov $0x319,%esi 13: 48 c7 c2 00 aa 50 8b mov $0xffffffff8b50aa00,%rdx 1a: e8 70 e7 b4 fd call 0xfdb4e78f 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