gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:10797 [syz.1.1037] __gfs2_lookup+0xa4/0x280 fs/gfs2/inode.c:897 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 0 UID: 0 PID: 10776 Comm: syz.1.1037 Not tainted 6.12.0-next-20241128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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+0xf05/0x1bb0 fs/gfs2/glock.c:2407 Code: c6 05 e5 5e 11 0c 01 48 c7 c7 40 1e 4e 8c be 53 03 00 00 48 c7 c2 80 1e 4e 8c e8 66 c3 88 fd 4d 8d 75 20 4d 89 f7 49 c1 ef 03 <43> 0f b6 04 27 84 c0 0f 85 b6 06 00 00 41 0f b7 1e 89 de 81 e6 00 RSP: 0018:ffffc90003c076a0 EFLAGS: 00010202 RAX: ffffffff83f251a2 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc90004cd1000 RSI: 000000000003d96c RDI: 000000000003d96d RBP: ffffc90003c07990 R08: ffffffff83f2518b R09: 1ffffffff2858910 R10: dffffc0000000000 R11: fffffbfff2858911 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000000021 R15: 0000000000000004 FS: 00007fee90b8b6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f41831ff000 CR3: 00000000344da000 CR4: 00000000003526f0 Call Trace: gfs2_consist_inode_i+0xf5/0x110 fs/gfs2/util.c:457 gfs2_dirent_scan+0x52b/0x670 gfs2_dir_read+0x82f/0x1af0 fs/gfs2/dir.c:1602 gfs2_readdir+0x14b/0x1b0 fs/gfs2/file.c:116 iterate_dir+0x571/0x800 fs/readdir.c:108 __do_sys_getdents fs/readdir.c:322 [inline] __se_sys_getdents+0x1fd/0x4e0 fs/readdir.c:308 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:0x7fee8fd80849 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:00007fee90b8b058 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007fee8ff45fa0 RCX: 00007fee8fd80849 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fee8fdf3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fee8ff45fa0 R15: 00007ffddeec9fe8 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+0xf05/0x1bb0 fs/gfs2/glock.c:2407 Code: c6 05 e5 5e 11 0c 01 48 c7 c7 40 1e 4e 8c be 53 03 00 00 48 c7 c2 80 1e 4e 8c e8 66 c3 88 fd 4d 8d 75 20 4d 89 f7 49 c1 ef 03 <43> 0f b6 04 27 84 c0 0f 85 b6 06 00 00 41 0f b7 1e 89 de 81 e6 00 RSP: 0018:ffffc90003c076a0 EFLAGS: 00010202 RAX: ffffffff83f251a2 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc90004cd1000 RSI: 000000000003d96c RDI: 000000000003d96d RBP: ffffc90003c07990 R08: ffffffff83f2518b R09: 1ffffffff2858910 R10: dffffc0000000000 R11: fffffbfff2858911 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000000021 R15: 0000000000000004 FS: 00007fee90b8b6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f418d5639a0 CR3: 00000000344da000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: c6 05 e5 5e 11 0c 01 movb $0x1,0xc115ee5(%rip) # 0xc115eec 7: 48 c7 c7 40 1e 4e 8c mov $0xffffffff8c4e1e40,%rdi e: be 53 03 00 00 mov $0x353,%esi 13: 48 c7 c2 80 1e 4e 8c mov $0xffffffff8c4e1e80,%rdx 1a: e8 66 c3 88 fd call 0xfd88c385 1f: 4d 8d 75 20 lea 0x20(%r13),%r14 23: 4d 89 f7 mov %r14,%r15 26: 49 c1 ef 03 shr $0x3,%r15 * 2a: 43 0f b6 04 27 movzbl (%r15,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 b6 06 00 00 jne 0x6ed 37: 41 0f b7 1e movzwl (%r14),%ebx 3b: 89 de mov %ebx,%esi 3d: 81 .byte 0x81 3e: e6 00 out %al,$0x0