gfs2: fsid=syz:syz.0: first mount done, others may mount gfs2: fsid=syz:syz.0: fatal: invalid metadata block bh = 2051 (type: exp=14, found=8) function = gfs2_quota_init, file = fs/gfs2/quota.c, line = 1406 gfs2: fsid=syz:syz.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:341! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10933 Comm: syz.9.1501 Not tainted 5.15.181-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:gfs2_withdraw+0x13d4/0x1460 fs/gfs2/util.c:341 Code: e9 68 f9 ff ff 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 0f 8c d4 f9 ff ff 48 8b 3c 24 e8 d6 91 50 fe e9 c6 f9 ff ff e8 8c 1e 0b fe <0f> 0b 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 0f 8c 34 fa ff ff 48 8b RSP: 0018:ffffc900043df700 EFLAGS: 00010246 RAX: ffffffff836c9f84 RBX: ffff88807ef78000 RCX: 0000000000080000 RDX: ffffc900059e9000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900043df850 R08: dffffc0000000000 R09: fffff5200087be45 R10: fffff5200087be45 R11: 1ffff9200087be44 R12: dffffc0000000000 R13: 1ffff9200087bef0 R14: ffff88807ef782bc R15: 0000000000000004 FS: 00007f30fcd686c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f484a51ec00 CR3: 00000000591c5000 CR4: 00000000003506e0 Call Trace: gfs2_metatype_check_ii+0x74/0x90 fs/gfs2/util.c:520 gfs2_metatype_check_i fs/gfs2/util.h:129 [inline] gfs2_quota_init+0xc81/0xe80 fs/gfs2/quota.c:1406 gfs2_make_fs_rw+0x3f5/0x560 fs/gfs2/super.c:155 gfs2_fill_super+0x188a/0x1f50 fs/gfs2/ops_fstype.c:1276 get_tree_bdev+0x3f1/0x610 fs/super.c:1325 gfs2_get_tree+0x4d/0x1e0 fs/gfs2/ops_fstype.c:1332 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x24a/0xa40 fs/namespace.c:3013 do_mount fs/namespace.c:3356 [inline] __do_sys_mount fs/namespace.c:3564 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3541 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f30fef0210a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f30fcd67e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f30fcd67ef0 RCX: 00007f30fef0210a RDX: 0000200000000400 RSI: 0000200000012500 RDI: 00007f30fcd67eb0 RBP: 0000200000000400 R08: 00007f30fcd67ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000012500 R13: 00007f30fcd67eb0 R14: 00000000000125bb R15: 0000200000000200 Modules linked in: ---[ end trace ed1cd31a65095ed6 ]--- RIP: 0010:gfs2_withdraw+0x13d4/0x1460 fs/gfs2/util.c:341 Code: e9 68 f9 ff ff 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 0f 8c d4 f9 ff ff 48 8b 3c 24 e8 d6 91 50 fe e9 c6 f9 ff ff e8 8c 1e 0b fe <0f> 0b 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 0f 8c 34 fa ff ff 48 8b RSP: 0018:ffffc900043df700 EFLAGS: 00010246 RAX: ffffffff836c9f84 RBX: ffff88807ef78000 RCX: 0000000000080000 RDX: ffffc900059e9000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900043df850 R08: dffffc0000000000 R09: fffff5200087be45 R10: fffff5200087be45 R11: 1ffff9200087be44 R12: dffffc0000000000 R13: 1ffff9200087bef0 R14: ffff88807ef782bc R15: 0000000000000004 FS: 00007f30fcd686c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f484a51ec00 CR3: 00000000591c5000 CR4: 00000000003506e0