gfs2: fsid=syz:syz.0: H: s:UN f: e:0 p:0 [(ended)] 0x0 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: 1 UID: 0 PID: 6259 Comm: syz.5.80 Not tainted 6.12.0-rc5-syzkaller-00005-ge42b1a9a2557 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1483 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2317 [inline] RIP: 0010:gfs2_dump_glock+0xf05/0x1bb0 fs/gfs2/glock.c:2433 Code: c6 05 20 b8 21 0c 01 48 c7 c7 20 5b 4f 8c be 53 03 00 00 48 c7 c2 60 5b 4f 8c e8 b6 c0 8b 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:ffffc9000b7976a0 EFLAGS: 00010212 RAX: ffffffff83e4eb62 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000c432000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000b797990 R08: ffffffff83e4eb4b R09: 1ffffffff2859500 R10: dffffc0000000000 R11: fffffbfff2859501 R12: dffffc0000000000 R13: 0000000000000003 R14: 0000000000000023 R15: 0000000000000004 FS: 00007fcfffadf6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555808295c8 CR3: 0000000028c2c000 CR4: 0000000000350ef0 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+0x573/0x800 fs/readdir.c:108 __do_sys_getdents fs/readdir.c:324 [inline] __se_sys_getdents+0x1ef/0x4d0 fs/readdir.c:309 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:0x7fcffed7e719 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:00007fcfffadf038 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007fcffef35f80 RCX: 00007fcffed7e719 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fcffedf132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcffef35f80 R15: 00007ffcb423fca8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1483 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2317 [inline] RIP: 0010:gfs2_dump_glock+0xf05/0x1bb0 fs/gfs2/glock.c:2433 Code: c6 05 20 b8 21 0c 01 48 c7 c7 20 5b 4f 8c be 53 03 00 00 48 c7 c2 60 5b 4f 8c e8 b6 c0 8b 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:ffffc9000b7976a0 EFLAGS: 00010212 RAX: ffffffff83e4eb62 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000c432000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000b797990 R08: ffffffff83e4eb4b R09: 1ffffffff2859500 R10: dffffc0000000000 R11: fffffbfff2859501 R12: dffffc0000000000 R13: 0000000000000003 R14: 0000000000000023 R15: 0000000000000004 FS: 00007fcfffadf6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30e0dff8 CR3: 0000000028c2c000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: c6 05 20 b8 21 0c 01 movb $0x1,0xc21b820(%rip) # 0xc21b827 7: 48 c7 c7 20 5b 4f 8c mov $0xffffffff8c4f5b20,%rdi e: be 53 03 00 00 mov $0x353,%esi 13: 48 c7 c2 60 5b 4f 8c mov $0xffffffff8c4f5b60,%rdx 1a: e8 b6 c0 8b fd call 0xfd8bc0d5 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