loop0: detected capacity change from 0 to 32768 gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" gfs2: fsid=syz:syz: Now mounting FS (format 1801)... gfs2: fsid=syz:syz.0: journal 0 mapped with 16 extents in 0ms gfs2: fsid=syz:syz.0: first mount done, others may mount netlink: 20 bytes leftover after parsing attributes in process `syz.0.0'. gfs2: fsid=syz:syz.0: gfs2_check_dirent: gfs2_dirent too small (not first in block) gfs2: fsid=syz:syz.0: fatal: filesystem consistency error - inode = 12 2341, function = gfs2_dirent_scan, file = fs/gfs2/dir.c, line = 590 gfs2: fsid=syz:syz.0: G: s:SH n:2/925 f:aqo t:SH d:EX/0 a:0 v:0 r:3 m:20 p:1 gfs2: fsid=syz:syz.0: H: s:SH f:H e:0 p:5333 [syz.0.0] __gfs2_lookup+0xac/0x2a0 fs/gfs2/inode.c:989 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1421 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2233 [inline] RIP: 0010:gfs2_dump_glock+0xe2c/0x1a60 fs/gfs2/glock.c:2351 Code: c2 a0 fa 19 8c e8 b4 7e 80 fd ba 20 00 00 00 48 8d bc 24 c0 00 00 00 31 f6 e8 d0 22 11 fe 4d 8d 7c 24 20 4d 89 fe 49 c1 ee 03 <43> 0f b6 04 2e 84 c0 0f 85 77 06 00 00 41 0f b7 1f 89 de 81 e6 00 RSP: 0018:ffffc90005117280 EFLAGS: 00010202 RAX: ffffc90005117340 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90005117360 RBP: ffffc90005117570 R08: ffffc9000511735f R09: 0000000000000000 R10: ffffc90005117340 R11: fffff52000a22e6c R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000004 R15: 0000000000000021 FS: 00007fd086d416c0(0000) GS:ffff88808c881000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1e5d5a4ac CR3: 000000001fc8b000 CR4: 0000000000352ef0 Call Trace: gfs2_consist_inode_i+0xf5/0x110 fs/gfs2/util.c:345 gfs2_dirent_scan+0x545/0x690 fs/gfs2/dir.c:-1 gfs2_dirent_search+0x358/0x920 fs/gfs2/dir.c:854 gfs2_dir_search+0x4c/0x220 fs/gfs2/dir.c:1651 gfs2_lookupi+0x45b/0x640 fs/gfs2/inode.c:354 __gfs2_lookup+0xac/0x2a0 fs/gfs2/inode.c:989 __lookup_slow+0x2b7/0x410 fs/namei.c:1915 lookup_slow+0x53/0x70 fs/namei.c:1932 walk_component fs/namei.c:2278 [inline] lookup_last fs/namei.c:2785 [inline] path_lookupat+0x3f5/0x8c0 fs/namei.c:2809 filename_lookup+0x256/0x5d0 fs/namei.c:2838 user_path_at+0x40/0x160 fs/namei.c:3643 do_mount fs/namespace.c:4164 [inline] __do_sys_mount fs/namespace.c:4383 [inline] __se_sys_mount+0x2dc/0x420 fs/namespace.c:4360 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd085d9ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd086d40fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd086015fa0 RCX: 00007fd085d9ce59 RDX: 0000000000000000 RSI: 0000200000000100 RDI: 0000000000000000 RBP: 00007fd085e32d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000021 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd086016038 R14: 00007fd086015fa0 R15: 00007ffdea9253b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1421 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2233 [inline] RIP: 0010:gfs2_dump_glock+0xe2c/0x1a60 fs/gfs2/glock.c:2351 Code: c2 a0 fa 19 8c e8 b4 7e 80 fd ba 20 00 00 00 48 8d bc 24 c0 00 00 00 31 f6 e8 d0 22 11 fe 4d 8d 7c 24 20 4d 89 fe 49 c1 ee 03 <43> 0f b6 04 2e 84 c0 0f 85 77 06 00 00 41 0f b7 1f 89 de 81 e6 00 RSP: 0018:ffffc90005117280 EFLAGS: 00010202 RAX: ffffc90005117340 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90005117360 RBP: ffffc90005117570 R08: ffffc9000511735f R09: 0000000000000000 R10: ffffc90005117340 R11: fffff52000a22e6c R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000004 R15: 0000000000000021 FS: 00007fd086d416c0(0000) GS:ffff88808c881000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a77b7b5148 CR3: 000000001fc8b000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: c2 a0 fa ret $0xfaa0 3: 19 8c e8 b4 7e 80 fd sbb %ecx,-0x27f814c(%rax,%rbp,8) a: ba 20 00 00 00 mov $0x20,%edx f: 48 8d bc 24 c0 00 00 lea 0xc0(%rsp),%rdi 16: 00 17: 31 f6 xor %esi,%esi 19: e8 d0 22 11 fe call 0xfe1122ee 1e: 4d 8d 7c 24 20 lea 0x20(%r12),%r15 23: 4d 89 fe mov %r15,%r14 26: 49 c1 ee 03 shr $0x3,%r14 * 2a: 43 0f b6 04 2e movzbl (%r14,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 77 06 00 00 jne 0x6ae 37: 41 0f b7 1f movzwl (%r15),%ebx 3b: 89 de mov %ebx,%esi 3d: 81 .byte 0x81 3e: e6 00 out %al,$0x0