gfs2: fsid=syz:syz.0: fatal: invalid metadata block bh = 2072 (magic number) function = gfs2_meta_indirect_buffer, file = fs/gfs2/meta_io.c, line = 488 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: 14699 Comm: syz-executor.0 Not tainted 5.11.0-rc4-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+0x2d6/0x13a0 fs/gfs2/util.c:294 Code: c1 e8 03 48 89 44 24 28 80 3c 18 00 74 08 48 89 ef e8 6e 34 46 fe 48 89 6c 24 20 48 8b 6d 00 48 83 c5 70 48 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 48 89 ef e8 4c 34 46 fe 48 8b 45 00 48 89 44 24 RSP: 0018:ffffc900167c6e60 EFLAGS: 00010202 RAX: 000000000000000e RBX: dffffc0000000000 RCX: 328901e542d70800 RDX: ffff888021f39bc0 RSI: 0000000000000000 RDI: ffff88806e050488 RBP: 0000000000000070 R08: ffffffff837ca553 R09: ffffed10173a60b8 R10: ffffed10173a60b8 R11: 0000000000000000 R12: ffffffff8a5f1100 R13: ffff88806e0500a8 R14: 1ffff1100dc0a058 R15: ffff88806e050000 FS: 00007f87bc802700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c001294fc8 CR3: 000000001b145000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_meta_check_ii+0x70/0x80 fs/gfs2/util.c:450 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline] gfs2_meta_indirect_buffer+0x31d/0x400 fs/gfs2/meta_io.c:488 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:70 [inline] gfs2_inode_refresh+0xaf/0xd20 fs/gfs2/glops.c:478 inode_go_lock+0x12c/0x480 fs/gfs2/glops.c:508 do_promote+0x4de/0xcb0 fs/gfs2/glock.c:395 finish_xmote+0x88d/0x12d0 fs/gfs2/glock.c:562 do_xmote+0xada/0x14c0 fs/gfs2/glock.c:688 gfs2_glock_nq+0xbd3/0x16a0 fs/gfs2/glock.c:1408 gfs2_glock_nq_init fs/gfs2/glock.h:238 [inline] gfs2_lookupi+0x474/0x620 fs/gfs2/inode.c:322 gfs2_lookup_simple+0xec/0x170 fs/gfs2/inode.c:273 init_journal+0x17a/0x21f0 fs/gfs2/ops_fstype.c:714 init_inodes fs/gfs2/ops_fstype.c:857 [inline] gfs2_fill_super+0x2d02/0x4350 fs/gfs2/ops_fstype.c:1184 get_tree_bdev+0x406/0x630 fs/super.c:1291 gfs2_get_tree+0x4c/0x1f0 fs/gfs2/ops_fstype.c:1260 vfs_get_tree+0x86/0x270 fs/super.c:1496 do_new_mount fs/namespace.c:2881 [inline] path_mount+0x1937/0x2c50 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount+0x2f9/0x3b0 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x460c6a 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:00007f87bc801a78 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f87bc801b10 RCX: 0000000000460c6a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f87bc801ad0 RBP: 00007f87bc801ad0 R08: 00007f87bc801b10 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020047a20 Modules linked in: ---[ end trace 163e092d02b8ef5e ]--- RIP: 0010:signal_our_withdraw fs/gfs2/util.c:97 [inline] RIP: 0010:gfs2_withdraw+0x2d6/0x13a0 fs/gfs2/util.c:294 Code: c1 e8 03 48 89 44 24 28 80 3c 18 00 74 08 48 89 ef e8 6e 34 46 fe 48 89 6c 24 20 48 8b 6d 00 48 83 c5 70 48 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 48 89 ef e8 4c 34 46 fe 48 8b 45 00 48 89 44 24 RSP: 0018:ffffc900167c6e60 EFLAGS: 00010202 RAX: 000000000000000e RBX: dffffc0000000000 RCX: 328901e542d70800 RDX: ffff888021f39bc0 RSI: 0000000000000000 RDI: ffff88806e050488 RBP: 0000000000000070 R08: ffffffff837ca553 R09: ffffed10173a60b8 R10: ffffed10173a60b8 R11: 0000000000000000 R12: ffffffff8a5f1100 R13: ffff88806e0500a8 R14: 1ffff1100dc0a058 R15: ffff88806e050000 FS: 00007f87bc802700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdbf2aad1c CR3: 000000001b145000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400