gfs2: fsid=syz:syz.0: H: s:?? f:c e:-1 p:0 [(none)] 0xffffffffffffffff general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 0 PID: 5767 Comm: syz-executor.1 Not tainted 6.2.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1437 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2262 [inline] RIP: 0010:gfs2_dump_glock+0xd9c/0x1ae0 fs/gfs2/glock.c:2376 Code: 17 b4 c8 0a 01 48 c7 c7 40 9a 3c 8b be fe 02 00 00 48 c7 c2 80 9a 3c 8b e8 31 a9 b1 fd 90 4d 8d 6c 24 20 4d 89 ee 49 c1 ee 03 <43> 0f b6 04 3e 84 c0 0f 85 45 07 00 00 41 0f b7 5d 00 89 de 81 e6 RSP: 0018:ffffc9000bb676c0 EFLAGS: 00010202 RAX: ffffffff83b9bb1f RBX: ffff88801c5108d0 RCX: 0000000000040000 RDX: ffffc90004281000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000bb679a8 R08: dffffc0000000000 R09: fffffbfff20fc231 R10: fffffbfff20fc231 R11: 1ffffffff20fc230 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000004 R15: dffffc0000000000 FS: 00007fe565398700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3262a000 CR3: 0000000022c9c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_inode_i+0xf3/0x110 fs/gfs2/util.c:465 gfs2_dirent_scan+0x535/0x650 fs/gfs2/dir.c:602 gfs2_dir_read+0x824/0x1b20 fs/gfs2/dir.c:1599 gfs2_readdir+0x135/0x190 fs/gfs2/file.c:115 iterate_dir+0x257/0x5f0 __do_sys_getdents fs/readdir.c:286 [inline] __se_sys_getdents+0x1db/0x4d0 fs/readdir.c:271 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe56468c0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe565398168 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007fe5647abf80 RCX: 00007fe56468c0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fe5646e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd83805caf R14: 00007fe565398300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1437 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2262 [inline] RIP: 0010:gfs2_dump_glock+0xd9c/0x1ae0 fs/gfs2/glock.c:2376 Code: 17 b4 c8 0a 01 48 c7 c7 40 9a 3c 8b be fe 02 00 00 48 c7 c2 80 9a 3c 8b e8 31 a9 b1 fd 90 4d 8d 6c 24 20 4d 89 ee 49 c1 ee 03 <43> 0f b6 04 3e 84 c0 0f 85 45 07 00 00 41 0f b7 5d 00 89 de 81 e6 RSP: 0018:ffffc9000bb676c0 EFLAGS: 00010202 RAX: ffffffff83b9bb1f RBX: ffff88801c5108d0 RCX: 0000000000040000 RDX: ffffc90004281000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000bb679a8 R08: dffffc0000000000 R09: fffffbfff20fc231 R10: fffffbfff20fc231 R11: 1ffffffff20fc230 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000004 R15: dffffc0000000000 FS: 00007fe565398700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff9e3ba4000 CR3: 0000000022c9c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: b4 c8 mov $0xc8,%ah 2: 0a 01 or (%rcx),%al 4: 48 c7 c7 40 9a 3c 8b mov $0xffffffff8b3c9a40,%rdi b: be fe 02 00 00 mov $0x2fe,%esi 10: 48 c7 c2 80 9a 3c 8b mov $0xffffffff8b3c9a80,%rdx 17: e8 31 a9 b1 fd callq 0xfdb1a94d 1c: 90 nop 1d: 4d 8d 6c 24 20 lea 0x20(%r12),%r13 22: 4d 89 ee mov %r13,%r14 25: 49 c1 ee 03 shr $0x3,%r14 * 29: 43 0f b6 04 3e movzbl (%r14,%r15,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 45 07 00 00 jne 0x77b 36: 41 0f b7 5d 00 movzwl 0x0(%r13),%ebx 3b: 89 de mov %ebx,%esi 3d: 81 .byte 0x81 3e: e6 .byte 0xe6