gfs2: fsid=syz:syz.0: fatal: invalid metadata block - bh = 2049 (type: exp=14, found=8), function = gfs2_quota_init, file = fs/gfs2/quota.c, line = 1432 gfs2: fsid=syz:syz.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:340! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 UID: 0 PID: 8135 Comm: syz.1.299 Not tainted 6.11.0-rc6-syzkaller-00026-g88fac17500f4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:gfs2_withdraw+0x1459/0x1460 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 51 fd ff ff 48 8b 7c 24 10 e8 f2 db 12 fe e9 42 fd ff ff e8 d8 b9 ae fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0000:ffffc90004b7f7e0 EFLAGS: 00010246 RAX: ffffffff83e4d288 RBX: 0000000000000004 RCX: 0000000000040000 RDX: ffffc9000ccef000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90004b7f970 R08: ffffffff83e4c0de R09: 1ffff1101712519a R10: dffffc0000000000 R11: ffffed101712519b R12: 1ffff1100d53f015 R13: 1ffff9200096ff10 R14: dffffc0000000000 R15: ffff88806a9f8340 FS: 00007efe2689a6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2aac919bd0 CR3: 00000000473b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_metatype_check_ii+0x79/0x90 fs/gfs2/util.c:523 gfs2_metatype_check_i fs/gfs2/util.h:129 [inline] gfs2_quota_init+0x10d8/0x1440 fs/gfs2/quota.c:1432 gfs2_make_fs_rw+0x43f/0x5e0 fs/gfs2/super.c:159 gfs2_reconfigure+0x672/0xbb0 fs/gfs2/ops_fstype.c:1591 reconfigure_super+0x445/0x880 fs/super.c:1083 vfs_cmd_reconfigure fs/fsopen.c:263 [inline] vfs_fsconfig_locked fs/fsopen.c:292 [inline] __do_sys_fsconfig fs/fsopen.c:473 [inline] __se_sys_fsconfig+0xb6e/0xf80 fs/fsopen.c:345 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efe25b7ceb9 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:00007efe2689a038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007efe25d35f80 RCX: 00007efe25b7ceb9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000004 RBP: 00007efe25beefbe R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efe25d35f80 R15: 00007fff2eb98b98 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_withdraw+0x1459/0x1460 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 51 fd ff ff 48 8b 7c 24 10 e8 f2 db 12 fe e9 42 fd ff ff e8 d8 b9 ae fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0000:ffffc90004b7f7e0 EFLAGS: 00010246 RAX: ffffffff83e4d288 RBX: 0000000000000004 RCX: 0000000000040000 RDX: ffffc9000ccef000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90004b7f970 R08: ffffffff83e4c0de R09: 1ffff1101712519a R10: dffffc0000000000 R11: ffffed101712519b R12: 1ffff1100d53f015 R13: 1ffff9200096ff10 R14: dffffc0000000000 R15: ffff88806a9f8340 FS: 00007efe2689a6c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564c4fef7950 CR3: 00000000473b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400