gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:6611 [syz.0.15] iterate_dir+0x5ac/0x770 fs/readdir.c:108 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 1 UID: 0 PID: 6637 Comm: syz.0.15 Not tainted 6.15.0-rc3-syzkaller-00342-g5bc1018675ec #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1469 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2293 [inline] RIP: 0010:gfs2_dump_glock+0x1033/0x1c50 fs/gfs2/glock.c:2415 Code: 40 c8 af 8b be 4b 03 00 00 48 c7 c2 80 c8 af 8b e8 a2 2e b6 fd 49 8d 5d 20 49 89 de 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 06 84 c0 0f 85 28 06 00 00 48 89 5c 24 28 0f b7 1b 89 RSP: 0018:ffffc900045571a0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000020 RCX: ffff888030471e00 RDX: 0000000000000000 RSI: ffffffff8bc0fa40 RDI: ffffffff8bc0fa00 RBP: ffffc90004557490 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff83e806e3 R12: ffffffff83e806e3 R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000000 FS: 00007f1ab15046c0(0000) GS:ffff888126202000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f84f21c5378 CR3: 00000000294d4000 CR4: 00000000003526f0 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+0x545/0x690 fs/gfs2/dir.c:-1 gfs2_dirent_search+0x2e0/0x7e0 fs/gfs2/dir.c:853 gfs2_dir_search+0x4c/0x220 fs/gfs2/dir.c:1653 gfs2_lookupi+0x3d9/0x5a0 fs/gfs2/inode.c:340 __gfs2_lookup+0x8f/0x270 fs/gfs2/inode.c:897 __lookup_slow+0x294/0x3d0 fs/namei.c:1817 lookup_slow+0x53/0x70 fs/namei.c:1834 walk_component fs/namei.c:2138 [inline] link_path_walk+0x925/0xe50 fs/namei.c:2503 path_parentat fs/namei.c:2707 [inline] __filename_parentat+0x246/0x670 fs/namei.c:2731 filename_parentat fs/namei.c:2749 [inline] filename_create+0xcf/0x470 fs/namei.c:4113 do_mknodat+0x184/0x4d0 fs/namei.c:4265 __do_sys_mknod fs/namei.c:4311 [inline] __se_sys_mknod fs/namei.c:4309 [inline] __x64_sys_mknod+0x8c/0xa0 fs/namei.c:4309 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1ab0775bd9 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:00007f1ab1504048 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007f1ab0904038 RCX: 00007f1ab0775bd9 RDX: 0000000000000701 RSI: 0000000000000000 RDI: 0000000020000680 RBP: 00007f1ab07e4aa1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1ab0904038 R15: 00007ffee5332d98 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1469 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2293 [inline] RIP: 0010:gfs2_dump_glock+0x1033/0x1c50 fs/gfs2/glock.c:2415 Code: 40 c8 af 8b be 4b 03 00 00 48 c7 c2 80 c8 af 8b e8 a2 2e b6 fd 49 8d 5d 20 49 89 de 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 06 84 c0 0f 85 28 06 00 00 48 89 5c 24 28 0f b7 1b 89 RSP: 0018:ffffc900045571a0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000020 RCX: ffff888030471e00 RDX: 0000000000000000 RSI: ffffffff8bc0fa40 RDI: ffffffff8bc0fa00 RBP: ffffc90004557490 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff83e806e3 R12: ffffffff83e806e3 R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000000 FS: 00007f1ab15046c0(0000) GS:ffff888126102000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f47d09a6020 CR3: 00000000294d4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 40 c8 af 8b be rex enter $0x8baf,$0xbe 5: 4b 03 00 rex.WXB add (%r8),%rax 8: 00 48 c7 add %cl,-0x39(%rax) b: c2 80 c8 ret $0xc880 e: af scas %es:(%rdi),%eax f: 8b e8 mov %eax,%ebp 11: a2 2e b6 fd 49 8d 5d movabs %al,0x49205d8d49fdb62e 18: 20 49 1a: 89 de mov %ebx,%esi 1c: 49 c1 ee 03 shr $0x3,%r14 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 0f b6 04 06 movzbl (%r14,%rax,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 28 06 00 00 jne 0x65f 37: 48 89 5c 24 28 mov %rbx,0x28(%rsp) 3c: 0f b7 1b movzwl (%rbx),%ebx 3f: 89 .byte 0x89