gfs2: fsid=syz:syz.0: gfs2_check_dirent: gfs2_dirent too small (first in block) gfs2: fsid=syz:syz.0: fatal: filesystem consistency error inode = 3 2076 function = gfs2_dirent_scan, file = fs/gfs2/dir.c, line = 603 gfs2: fsid=syz:syz.0: about to withdraw this file system general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077] CPU: 1 PID: 27133 Comm: syz-executor.2 Not tainted 5.9.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:signal_our_withdraw fs/gfs2/util.c:97 [inline] RIP: 0010:gfs2_withdraw+0x2b0/0xe20 fs/gfs2/util.c:294 Code: e8 03 48 89 44 24 38 42 80 3c 38 00 74 08 48 89 ef e8 74 e6 69 fe 48 89 6c 24 20 48 8b 6d 00 48 83 c5 70 48 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 ef e8 51 e6 69 fe 48 8b 45 00 48 89 44 RSP: 0018:ffffc90009197838 EFLAGS: 00010202 RAX: 000000000000000e RBX: ffff888054e00000 RCX: a744cd2be1126700 RDX: ffff8880a99a8180 RSI: 0000000000000000 RDI: ffff888054e00430 RBP: 0000000000000070 R08: ffffffff834afddc R09: ffffed1015d262c0 R10: ffffed1015d262c0 R11: 0000000000000000 R12: 1ffff1100a9c004d R13: ffff888054e00050 R14: ffff888054e0026c R15: dffffc0000000000 FS: 00007f4683de3700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000118c000 CR3: 0000000093f11000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_dirent_scan+0x4ae/0x640 fs/gfs2/dir.c:603 gfs2_dirent_search+0x20a/0x930 fs/gfs2/dir.c:852 gfs2_dir_check+0x42/0x290 fs/gfs2/dir.c:1678 gfs2_jindex_hold fs/gfs2/ops_fstype.c:564 [inline] init_journal+0xcb6/0x1970 fs/gfs2/ops_fstype.c:628 init_inodes fs/gfs2/ops_fstype.c:756 [inline] gfs2_fill_super+0x2717/0x3fe0 fs/gfs2/ops_fstype.c:1125 get_tree_bdev+0x3e9/0x5f0 fs/super.c:1342 gfs2_get_tree+0x4c/0x1f0 fs/gfs2/ops_fstype.c:1201 vfs_get_tree+0x88/0x270 fs/super.c:1547 do_new_mount fs/namespace.c:2875 [inline] path_mount+0x179d/0x29e0 fs/namespace.c:3192 do_mount fs/namespace.c:3205 [inline] __do_sys_mount fs/namespace.c:3413 [inline] __se_sys_mount+0x126/0x180 fs/namespace.c:3390 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x46087a Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f4683de2a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f4683de2b20 RCX: 000000000046087a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f4683de2ae0 RBP: 00007f4683de2ae0 R08: 00007f4683de2b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 000000002000fe40 Modules linked in: ---[ end trace 7130ea2831480cc3 ]--- RIP: 0010:signal_our_withdraw fs/gfs2/util.c:97 [inline] RIP: 0010:gfs2_withdraw+0x2b0/0xe20 fs/gfs2/util.c:294 Code: e8 03 48 89 44 24 38 42 80 3c 38 00 74 08 48 89 ef e8 74 e6 69 fe 48 89 6c 24 20 48 8b 6d 00 48 83 c5 70 48 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 ef e8 51 e6 69 fe 48 8b 45 00 48 89 44 RSP: 0018:ffffc90009197838 EFLAGS: 00010202 RAX: 000000000000000e RBX: ffff888054e00000 RCX: a744cd2be1126700 RDX: ffff8880a99a8180 RSI: 0000000000000000 RDI: ffff888054e00430 RBP: 0000000000000070 R08: ffffffff834afddc R09: ffffed1015d262c0 R10: ffffed1015d262c0 R11: 0000000000000000 R12: 1ffff1100a9c004d R13: ffff888054e00050 R14: ffff888054e0026c R15: dffffc0000000000 FS: 00007f4683de3700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00b13b080 CR3: 0000000093f11000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400