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: 1590 Comm: syz-executor.0 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.cold+0xff/0xc0e fs/gfs2/util.c:294 Code: 00 48 c1 e0 2a 80 3c 02 00 0f 85 19 02 00 00 4c 8b bb a0 08 00 00 b8 ff ff 37 00 48 c1 e0 2a 49 8d 7f 70 48 89 fa 48 c1 ea 03 <80> 3c 02 00 74 05 e8 b7 52 68 fe 4d 8b 7f 70 b8 ff ff 37 00 48 c1 RSP: 0018:ffffc90008717738 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888051778000 RCX: ffffc900061a9000 RDX: 000000000000000e RSI: ffffffff834ec46f RDI: 0000000000000070 RBP: ffff88805177826d R08: 0000000000000038 R09: ffff8880ae5318e7 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888051778050 R13: ffff8880517782f0 R14: ffffffff88cc15e0 R15: 0000000000000000 FS: 00007fca83c06700(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f752f3dd000 CR3: 0000000093a5b000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_dirent_scan+0x2f6/0x390 fs/gfs2/dir.c:603 gfs2_dirent_search+0x40e/0x500 fs/gfs2/dir.c:852 gfs2_dir_check+0x80/0x2e0 fs/gfs2/dir.c:1678 gfs2_jindex_hold fs/gfs2/ops_fstype.c:564 [inline] init_journal fs/gfs2/ops_fstype.c:628 [inline] init_inodes+0x4c5/0x1f40 fs/gfs2/ops_fstype.c:756 gfs2_fill_super+0x195e/0x254a fs/gfs2/ops_fstype.c:1125 get_tree_bdev+0x421/0x740 fs/super.c:1342 gfs2_get_tree+0x4a/0x270 fs/gfs2/ops_fstype.c:1201 vfs_get_tree+0x89/0x2f0 fs/super.c:1547 do_new_mount fs/namespace.c:2875 [inline] path_mount+0x1387/0x20a0 fs/namespace.c:3192 do_mount fs/namespace.c:3205 [inline] __do_sys_mount fs/namespace.c:3413 [inline] __se_sys_mount fs/namespace.c:3390 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3390 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4608aa 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:00007fca83c05a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fca83c05b20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fca83c05ae0 RBP: 00007fca83c05ae0 R08: 00007fca83c05b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020047a20 Modules linked in: ---[ end trace 609493c2076d94f2 ]--- RIP: 0010:signal_our_withdraw fs/gfs2/util.c:97 [inline] RIP: 0010:gfs2_withdraw.cold+0xff/0xc0e fs/gfs2/util.c:294 Code: 00 48 c1 e0 2a 80 3c 02 00 0f 85 19 02 00 00 4c 8b bb a0 08 00 00 b8 ff ff 37 00 48 c1 e0 2a 49 8d 7f 70 48 89 fa 48 c1 ea 03 <80> 3c 02 00 74 05 e8 b7 52 68 fe 4d 8b 7f 70 b8 ff ff 37 00 48 c1 RSP: 0018:ffffc90008717738 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888051778000 RCX: ffffc900061a9000 RDX: 000000000000000e RSI: ffffffff834ec46f RDI: 0000000000000070 RBP: ffff88805177826d R08: 0000000000000038 R09: ffff8880ae5318e7 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888051778050 R13: ffff8880517782f0 R14: ffffffff88cc15e0 R15: 0000000000000000 FS: 00007fca83c06700(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1534013490 CR3: 0000000093a5b000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400