gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:4956 [syz.0.171] iterate_dir+0x218/0x560 fs/readdir.c:-1 gfs2: fsid=syz:syz.0: H: s:SH f:AH e:0 p:4957 [syz.0.171] do_inode_permission fs/namei.c:461 [inline] gfs2: fsid=syz:syz.0: H: s:SH f:AH e:0 p:4957 [syz.0.171] inode_permission+0x239/0x480 fs/namei.c:528 general protection fault, probably for non-canonical address 0xfd96d1bb96eed964: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0xecb6addcb776cb20-0xecb6addcb776cb27] CPU: 1 PID: 4956 Comm: syz.0.171 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1471 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2331 [inline] RIP: 0010:gfs2_dump_glock+0xbde/0x1830 fs/gfs2/glock.c:2445 Code: c6 05 54 5e 7f 0a 01 48 c7 c7 e0 15 d2 8a be 19 03 00 00 48 c7 c2 20 16 d2 8a e8 8d 18 d8 fd 4d 8d 7d 20 4c 89 fb 48 c1 eb 03 <42> 0f b6 04 23 84 c0 0f 85 9e 06 00 00 45 0f b7 37 44 89 f6 81 e6 RSP: 0018:ffffc900052e7740 EFLAGS: 00010a02 RAX: ffffffff838b8e6b RBX: 1d96d5bb96eed964 RCX: ffff88802cd53b80 RDX: 0000000000000000 RSI: ffffffff8adef740 RDI: ffffffff8adef700 RBP: ffffc900052e7a30 R08: dffffc0000000000 R09: fffffbfff215c449 R10: fffffbfff215c449 R11: 1ffffffff215c448 R12: dffffc0000000000 R13: ecb6addcb776cb00 R14: 0000000000000000 R15: ecb6addcb776cb20 FS: 00007f54cded76c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f54cdeb6d58 CR3: 0000000069a1b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_inode_i+0xf1/0x110 fs/gfs2/util.c:467 gfs2_dirent_scan+0x525/0x650 fs/gfs2/dir.c:602 gfs2_dir_read+0x7ff/0x1780 fs/gfs2/dir.c:1599 gfs2_readdir+0x14c/0x1b0 fs/gfs2/file.c:115 iterate_dir+0x218/0x560 fs/readdir.c:-1 __do_sys_getdents fs/readdir.c:286 [inline] __se_sys_getdents+0xe5/0x250 fs/readdir.c:271 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f54ccf8f749 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:00007f54cded7038 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f54cd1e5fa0 RCX: 00007f54ccf8f749 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f54cd013f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f54cd1e6038 R14: 00007f54cd1e5fa0 R15: 00007ffdda481a88 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1471 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2331 [inline] RIP: 0010:gfs2_dump_glock+0xbde/0x1830 fs/gfs2/glock.c:2445 Code: c6 05 54 5e 7f 0a 01 48 c7 c7 e0 15 d2 8a be 19 03 00 00 48 c7 c2 20 16 d2 8a e8 8d 18 d8 fd 4d 8d 7d 20 4c 89 fb 48 c1 eb 03 <42> 0f b6 04 23 84 c0 0f 85 9e 06 00 00 45 0f b7 37 44 89 f6 81 e6 RSP: 0018:ffffc900052e7740 EFLAGS: 00010a02 RAX: ffffffff838b8e6b RBX: 1d96d5bb96eed964 RCX: ffff88802cd53b80 RDX: 0000000000000000 RSI: ffffffff8adef740 RDI: ffffffff8adef700 RBP: ffffc900052e7a30 R08: dffffc0000000000 R09: fffffbfff215c449 R10: fffffbfff215c449 R11: 1ffffffff215c448 R12: dffffc0000000000 R13: ecb6addcb776cb00 R14: 0000000000000000 R15: ecb6addcb776cb20 FS: 00007f54cded76c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f54cde95d58 CR3: 0000000069a1b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c6 05 54 5e 7f 0a 01 movb $0x1,0xa7f5e54(%rip) # 0xa7f5e5b 7: 48 c7 c7 e0 15 d2 8a mov $0xffffffff8ad215e0,%rdi e: be 19 03 00 00 mov $0x319,%esi 13: 48 c7 c2 20 16 d2 8a mov $0xffffffff8ad21620,%rdx 1a: e8 8d 18 d8 fd call 0xfdd818ac 1f: 4d 8d 7d 20 lea 0x20(%r13),%r15 23: 4c 89 fb mov %r15,%rbx 26: 48 c1 eb 03 shr $0x3,%rbx * 2a: 42 0f b6 04 23 movzbl (%rbx,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 9e 06 00 00 jne 0x6d5 37: 45 0f b7 37 movzwl (%r15),%r14d 3b: 44 89 f6 mov %r14d,%esi 3e: 81 .byte 0x81 3f: e6 .byte 0xe6