Oops: general protection fault, probably for non-canonical address 0xdffffc000000001c: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000000e0-0x00000000000000e7] CPU: 1 UID: 0 PID: 10777 Comm: syz.4.503 Not tainted 6.11.0-rc6-syzkaller-00363-g89f5e14d05b4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:pid_nr include/linux/pid.h:179 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2318 [inline] RIP: 0010:gfs2_dump_glock+0xfba/0x1bb0 fs/gfs2/glock.c:2430 Code: e8 6b a5 1b fe 48 8b 1b 48 85 db 74 2f e8 1e 82 b7 fd 4c 8d a3 e0 00 00 00 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 dc 07 00 00 45 8b 24 24 eb 08 e8 ef 81 b7 RSP: 0018:ffffc90003dc71a0 EFLAGS: 00010202 RAX: 000000000000001c RBX: 0000000000000001 RCX: dffffc0000000000 RDX: ffffc90009429000 RSI: 000000000000bb66 RDI: 000000000000bb67 RBP: ffffc90003dc7490 R08: ffffffff83dc09c5 R09: 1ffffffff27f4d08 R10: dffffc0000000000 R11: fffffbfff27f4d09 R12: 00000000000000e1 R13: ffff888034b0da00 R14: ffff888034b0da20 R15: 1ffff11006961b44 FS: 00007fe9ce30b6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fae179bd000 CR3: 000000006f764000 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:457 gfs2_dirent_scan+0x52b/0x670 gfs2_dirent_search+0x30e/0x8c0 fs/gfs2/dir.c:853 gfs2_dir_search+0xb2/0x2f0 fs/gfs2/dir.c:1653 gfs2_lookupi+0x461/0x5e0 fs/gfs2/inode.c:340 __gfs2_lookup+0xa4/0x280 fs/gfs2/inode.c:896 __lookup_slow+0x28c/0x3f0 fs/namei.c:1718 lookup_slow+0x53/0x70 fs/namei.c:1735 walk_component+0x2e1/0x410 fs/namei.c:2039 lookup_last fs/namei.c:2542 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2566 filename_lookup+0x256/0x610 fs/namei.c:2595 kern_path+0x35/0x50 fs/namei.c:2703 lookup_bdev+0xc5/0x290 block/bdev.c:1157 btrfs_control_ioctl+0x270/0x3e0 fs/btrfs/super.c:2251 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe9cd57cef9 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:00007fe9ce30b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe9cd736058 RCX: 00007fe9cd57cef9 RDX: 00000000200004c0 RSI: 0000000050009405 RDI: 0000000000000005 RBP: 00007fe9cd5ef046 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe9cd736058 R15: 00007ffe7a79daf8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_nr include/linux/pid.h:179 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2318 [inline] RIP: 0010:gfs2_dump_glock+0xfba/0x1bb0 fs/gfs2/glock.c:2430 Code: e8 6b a5 1b fe 48 8b 1b 48 85 db 74 2f e8 1e 82 b7 fd 4c 8d a3 e0 00 00 00 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 dc 07 00 00 45 8b 24 24 eb 08 e8 ef 81 b7 RSP: 0018:ffffc90003dc71a0 EFLAGS: 00010202 RAX: 000000000000001c RBX: 0000000000000001 RCX: dffffc0000000000 RDX: ffffc90009429000 RSI: 000000000000bb66 RDI: 000000000000bb67 RBP: ffffc90003dc7490 R08: ffffffff83dc09c5 R09: 1ffffffff27f4d08 R10: dffffc0000000000 R11: fffffbfff27f4d09 R12: 00000000000000e1 R13: ffff888034b0da00 R14: ffff888034b0da20 R15: 1ffff11006961b44 FS: 00007fe9ce30b6c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe081fefd58 CR3: 000000006f764000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 6b a5 1b fe call 0xfe1ba570 5: 48 8b 1b mov (%rbx),%rbx 8: 48 85 db test %rbx,%rbx b: 74 2f je 0x3c d: e8 1e 82 b7 fd call 0xfdb78230 12: 4c 8d a3 e0 00 00 00 lea 0xe0(%rbx),%r12 19: 4c 89 e0 mov %r12,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 dc 07 00 00 jne 0x812 36: 45 8b 24 24 mov (%r12),%r12d 3a: eb 08 jmp 0x44 3c: e8 .byte 0xe8 3d: ef out %eax,(%dx) 3e: 81 .byte 0x81 3f: b7 .byte 0xb7