gfs2: fsid=syz:syz.0: gfs2_check_dirent: gfs2_dirent too small (not first in block) 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:5319 [syz.0.0] __gfs2_lookup+0x8f/0x270 fs/gfs2/inode.c:975 Oops: general protection fault, probably for non-canonical address 0xfbfffb8000000004: 0000 [#1] SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0xdffffc0000000020-0xdffffc0000000027] CPU: 0 UID: 0 PID: 5320 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~bpo12+1 04/01/2014 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1470 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2278 [inline] RIP: 0010:gfs2_dump_glock+0xfbb/0x1bc0 fs/gfs2/glock.c:2398 Code: e0 78 b1 8b be 65 03 00 00 48 c7 c2 20 79 b1 8b e8 6a 99 a0 fd 49 8d 5d 20 49 89 de 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 06 84 c0 0f 85 28 06 00 00 48 89 5c 24 28 0f b7 1b 89 RSP: 0018:ffffc9000d27f1c0 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: dffffc0000000020 RCX: 0000000000100000 RDX: ffffc9000ee13000 RSI: 000000000000192c RDI: 000000000000192d RBP: ffffc9000d27f4b0 R08: 0000000000000000 R09: ffffffff83fce28b R10: dffffc0000000000 R11: fffffbfff1efa1cf R12: ffffffff83fce28b R13: dffffc0000000000 R14: 1bffff8000000004 R15: 0000000000000000 FS: 00007f6f2d9506c0(0000) GS:ffff88808d730000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558137d7c8 CR3: 0000000042014000 CR4: 0000000000352ef0 Call Trace: gfs2_consist_inode_i+0xf5/0x110 fs/gfs2/util.c:446 gfs2_dirent_scan+0x545/0x690 fs/gfs2/dir.c:-1 gfs2_dirent_search+0x2cb/0x710 fs/gfs2/dir.c:854 gfs2_dir_search+0x4c/0x220 fs/gfs2/dir.c:1651 gfs2_lookupi+0x3d9/0x5a0 fs/gfs2/inode.c:340 __gfs2_lookup+0x8f/0x270 fs/gfs2/inode.c:975 __lookup_slow+0x297/0x3d0 fs/namei.c:1816 lookup_slow+0x53/0x70 fs/namei.c:1833 walk_component fs/namei.c:2151 [inline] link_path_walk+0x935/0xea0 fs/namei.c:2519 path_parentat fs/namei.c:2723 [inline] __filename_parentat+0x246/0x670 fs/namei.c:2747 filename_parentat fs/namei.c:2765 [inline] filename_create+0xd2/0x3c0 fs/namei.c:4207 do_mkdirat+0xa0/0x590 fs/namei.c:4478 __do_sys_mkdir fs/namei.c:4508 [inline] __se_sys_mkdir fs/namei.c:4506 [inline] __x64_sys_mkdir+0x6c/0x80 fs/namei.c:4506 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6f2cb8f749 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:00007f6f2d950038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f6f2cde6090 RCX: 00007f6f2cb8f749 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000240 RBP: 00007f6f2cc13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6f2cde6128 R14: 00007f6f2cde6090 R15: 00007ffde8dd0fb8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1470 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2278 [inline] RIP: 0010:gfs2_dump_glock+0xfbb/0x1bc0 fs/gfs2/glock.c:2398 Code: e0 78 b1 8b be 65 03 00 00 48 c7 c2 20 79 b1 8b e8 6a 99 a0 fd 49 8d 5d 20 49 89 de 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 06 84 c0 0f 85 28 06 00 00 48 89 5c 24 28 0f b7 1b 89 RSP: 0018:ffffc9000d27f1c0 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: dffffc0000000020 RCX: 0000000000100000 RDX: ffffc9000ee13000 RSI: 000000000000192c RDI: 000000000000192d RBP: ffffc9000d27f4b0 R08: 0000000000000000 R09: ffffffff83fce28b R10: dffffc0000000000 R11: fffffbfff1efa1cf R12: ffffffff83fce28b R13: dffffc0000000000 R14: 1bffff8000000004 R15: 0000000000000000 FS: 00007f6f2d9506c0(0000) GS:ffff88808d730000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa14e24d068 CR3: 0000000042014000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: e0 78 loopne 0x7a 2: b1 8b mov $0x8b,%cl 4: be 65 03 00 00 mov $0x365,%esi 9: 48 c7 c2 20 79 b1 8b mov $0xffffffff8bb17920,%rdx 10: e8 6a 99 a0 fd call 0xfda0997f 15: 49 8d 5d 20 lea 0x20(%r13),%rbx 19: 49 89 de mov %rbx,%r14 1c: 49 c1 ee 03 shr $0x3,%r14 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 0f b6 04 06 movzbl (%r14,%rax,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 28 06 00 00 jne 0x65f 37: 48 89 5c 24 28 mov %rbx,0x28(%rsp) 3c: 0f b7 1b movzwl (%rbx),%ebx 3f: 89 .byte 0x89