gfs2: fsid=syz:syz.s: H: s:SH f:H e:0 p:6745 [syz.0.16] iterate_dir+0x5ac/0x770 fs/readdir.c:108 gfs2: fsid=syz:syz.s: H: s:UN f: e:0 p:0 [(ended)] 0xffff888025bde610 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: 6763 Comm: syz.0.16 Not tainted 6.16.0-rc4-next-20250704-syzkaller-07381-g26ffb3d6f02c #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1468 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2292 [inline] RIP: 0010:gfs2_dump_glock+0x1033/0x1c50 fs/gfs2/glock.c:2414 Code: e0 98 d0 8b be 4b 03 00 00 48 c7 c2 20 99 d0 8b e8 a2 0d a9 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:ffffc900034a7700 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000020 RCX: ffff88802759bc00 RDX: 0000000000000000 RSI: ffffffff8be333e0 RDI: ffffffff8be333a0 RBP: ffffc900034a79f0 R08: 0000000000000000 R09: ffffffff83f4c353 R10: dffffc0000000000 R11: fffffbfff1bfa430 R12: ffffffff83f4c353 R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000000 FS: 00007f2255b7d6c0(0000) GS:ffff888125ce7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555bd498f950 CR3: 000000003301a000 CR4: 00000000003526f0 Call Trace: gfs2_consist_inode_i+0xf5/0x110 fs/gfs2/util.c:457 gfs2_dirent_scan+0x545/0x690 fs/gfs2/dir.c:-1 gfs2_dir_read+0x806/0x1780 fs/gfs2/dir.c:1602 gfs2_readdir+0x14c/0x1b0 fs/gfs2/file.c:116 iterate_dir+0x5ac/0x770 fs/readdir.c:108 __do_sys_getdents fs/readdir.c:326 [inline] __se_sys_getdents+0xe4/0x250 fs/readdir.c:312 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2254d8e929 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:00007f2255b7d038 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f2254fb6080 RCX: 00007f2254d8e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f2254e10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2254fb6080 R15: 00007ffd99950d08 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:2292 [inline] RIP: 0010:gfs2_dump_glock+0x1033/0x1c50 fs/gfs2/glock.c:2414 Code: e0 98 d0 8b be 4b 03 00 00 48 c7 c2 20 99 d0 8b e8 a2 0d a9 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:ffffc900034a7700 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000020 RCX: ffff88802759bc00 RDX: 0000000000000000 RSI: ffffffff8be333e0 RDI: ffffffff8be333a0 RBP: ffffc900034a79f0 R08: 0000000000000000 R09: ffffffff83f4c353 R10: dffffc0000000000 R11: fffffbfff1bfa430 R12: ffffffff83f4c353 R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000000 FS: 00007f2255b7d6c0(0000) GS:ffff888125be7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005599d7919950 CR3: 000000003301a000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: e0 98 loopne 0xffffff9a 2: d0 8b be 4b 03 00 rorb 0x34bbe(%rbx) 8: 00 48 c7 add %cl,-0x39(%rax) b: c2 20 99 ret $0x9920 e: d0 8b e8 a2 0d a9 rorb -0x56f25d18(%rbx) 14: fd std 15: 49 8d 5d 20 lea 0x20(%r13),%rbx 19: 49 89 de mov %rbx,%r14 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