gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:13910 [syz.9.2808] iterate_dir+0x532/0xb40 fs/readdir.c:108 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 0 UID: 0 PID: 13942 Comm: syz.9.2808 Not tainted 6.13.0-rc2-syzkaller-00130-g150b567e0d57 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1463 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2291 [inline] RIP: 0010:gfs2_dump_glock+0x11d3/0x1c80 fs/gfs2/glock.c:2407 Code: e8 62 ac 55 07 31 ff 89 c3 89 c6 e8 77 a8 c8 fd 85 db 58 0f 85 75 04 00 00 e8 29 a6 c8 fd 49 8d 5c 24 20 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 01 0f 8e 80 06 00 00 41 0f b7 6c 24 RSP: 0018:ffffc9000264f1d8 EFLAGS: 00010212 RAX: 0000000000000004 RBX: 0000000000000020 RCX: ffffc90018060000 RDX: 0000000000080000 RSI: ffffffff83d15cc7 RDI: 0000000000000001 RBP: ffffffff8bbba360 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffffc9000264f2c8 R14: ffffc9000b607d52 R15: dffffc0000000000 FS: 00007f50eb8e56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3041dff8 CR3: 0000000043d16000 CR4: 0000000000350ef0 Call Trace: gfs2_consist_inode_i+0x104/0x150 fs/gfs2/util.c:457 gfs2_dirent_scan+0x352/0x400 fs/gfs2/dir.c:589 gfs2_dirent_search+0x459/0x5c0 fs/gfs2/dir.c:853 gfs2_dir_search+0x98/0x2e0 fs/gfs2/dir.c:1653 gfs2_lookupi+0x4b9/0x6f0 fs/gfs2/inode.c:340 __gfs2_lookup+0xa1/0x290 fs/gfs2/inode.c:897 gfs2_atomic_open+0xdd/0x240 fs/gfs2/inode.c:1298 atomic_open fs/namei.c:3509 [inline] lookup_open.isra.0+0xca2/0x14c0 fs/namei.c:3620 open_last_lookups fs/namei.c:3748 [inline] path_openat+0x904/0x2d60 fs/namei.c:3984 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_open fs/open.c:1425 [inline] __se_sys_open fs/open.c:1421 [inline] __x64_sys_open+0x154/0x1e0 fs/open.c:1421 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f50eab85d19 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:00007f50eb8e5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f50ead76080 RCX: 00007f50eab85d19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f50eac01a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f50ead76080 R15: 00007ffd9e6f3238 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1463 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2291 [inline] RIP: 0010:gfs2_dump_glock+0x11d3/0x1c80 fs/gfs2/glock.c:2407 Code: e8 62 ac 55 07 31 ff 89 c3 89 c6 e8 77 a8 c8 fd 85 db 58 0f 85 75 04 00 00 e8 29 a6 c8 fd 49 8d 5c 24 20 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 01 0f 8e 80 06 00 00 41 0f b7 6c 24 RSP: 0018:ffffc9000264f1d8 EFLAGS: 00010212 RAX: 0000000000000004 RBX: 0000000000000020 RCX: ffffc90018060000 RDX: 0000000000080000 RSI: ffffffff83d15cc7 RDI: 0000000000000001 RBP: ffffffff8bbba360 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffffc9000264f2c8 R14: ffffc9000b607d52 R15: dffffc0000000000 FS: 00007f50eb8e56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3041dff8 CR3: 0000000043d16000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: e8 62 ac 55 07 call 0x755ac67 5: 31 ff xor %edi,%edi 7: 89 c3 mov %eax,%ebx 9: 89 c6 mov %eax,%esi b: e8 77 a8 c8 fd call 0xfdc8a887 10: 85 db test %ebx,%ebx 12: 58 pop %rax 13: 0f 85 75 04 00 00 jne 0x48e 19: e8 29 a6 c8 fd call 0xfdc8a647 1e: 49 8d 5c 24 20 lea 0x20(%r12),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 74 08 je 0x3b 33: 3c 01 cmp $0x1,%al 35: 0f 8e 80 06 00 00 jle 0x6bb 3b: 41 rex.B 3c: 0f .byte 0xf 3d: b7 6c mov $0x6c,%bh 3f: 24 .byte 0x24