gfs2: fsid=syz:syz.0: H: s:?? f:tTeAnaEcHWs e:0 p:0 [(none)] __init_rwsem.__key+0x0/0x10 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000044: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000220-0x0000000000000227] CPU: 1 UID: 0 PID: 5458 Comm: syz.4.23 Not tainted 6.11.0-rc4-syzkaller-00008-g6e4436539ae1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1483 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2314 [inline] RIP: 0010:gfs2_dump_glock+0xf05/0x1bb0 fs/gfs2/glock.c:2430 Code: c6 05 55 ef 05 0c 01 48 c7 c7 00 ca 2e 8c be 48 03 00 00 48 c7 c2 40 ca 2e 8c e8 a6 9f 95 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:ffffc900046f7140 EFLAGS: 00010206 RAX: ffffffff83da8f62 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000b354000 RSI: 000000000001e1ce RDI: 000000000001e1cf RBP: ffffc900046f7430 R08: ffffffff83da8f4b R09: 1ffffffff269e908 R10: dffffc0000000000 R11: fffffbfff269e909 R12: dffffc0000000000 R13: 0000000000000200 R14: 0000000000000220 R15: 0000000000000044 FS: 00007fda8cfff6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbfebff3be0 CR3: 000000002f006000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_consist_inode_i+0xf5/0x110 fs/gfs2/util.c:457 gfs2_dirent_scan+0x52b/0x670 gfs2_dirent_search+0x30e/0x8c0 fs/gfs2/dir.c:853 gfs2_dir_search+0xb2/0x2f0 fs/gfs2/dir.c:1653 gfs2_lookupi+0x461/0x5e0 fs/gfs2/inode.c:340 __gfs2_lookup+0xa4/0x280 fs/gfs2/inode.c:896 gfs2_atomic_open+0x9e/0x230 fs/gfs2/inode.c:1297 atomic_open fs/namei.c:3441 [inline] lookup_open fs/namei.c:3549 [inline] open_last_lookups fs/namei.c:3647 [inline] path_openat+0xe8d/0x3470 fs/namei.c:3883 do_filp_open+0x235/0x490 fs/namei.c:3913 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1442 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:0x7fda8d579e79 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:00007fda8cfff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fda8d716130 RCX: 00007fda8d579e79 RDX: 0000000000000000 RSI: 0000000020000140 RDI: ffffffffffffff9c RBP: 00007fda8d5e7916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fda8d716130 R15: 00007ffdfe61d908 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:2314 [inline] RIP: 0010:gfs2_dump_glock+0xf05/0x1bb0 fs/gfs2/glock.c:2430 Code: c6 05 55 ef 05 0c 01 48 c7 c7 00 ca 2e 8c be 48 03 00 00 48 c7 c2 40 ca 2e 8c e8 a6 9f 95 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:ffffc900046f7140 EFLAGS: 00010206 RAX: ffffffff83da8f62 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000b354000 RSI: 000000000001e1ce RDI: 000000000001e1cf RBP: ffffc900046f7430 R08: ffffffff83da8f4b R09: 1ffffffff269e908 R10: dffffc0000000000 R11: fffffbfff269e909 R12: dffffc0000000000 R13: 0000000000000200 R14: 0000000000000220 R15: 0000000000000044 FS: 00007fda8cfff6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000565005ef3000 CR3: 000000002f006000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c6 05 55 ef 05 0c 01 movb $0x1,0xc05ef55(%rip) # 0xc05ef5c 7: 48 c7 c7 00 ca 2e 8c mov $0xffffffff8c2eca00,%rdi e: be 48 03 00 00 mov $0x348,%esi 13: 48 c7 c2 40 ca 2e 8c mov $0xffffffff8c2eca40,%rdx 1a: e8 a6 9f 95 fd call 0xfd959fc5 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