bh = 2339 (magic number) function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 492 gfs2: fsid=syz:syz.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:352! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4664 Comm: syz.2.63 Not tainted 6.1.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : gfs2_withdraw+0x1338/0x140c fs/gfs2/util.c:352 lr : gfs2_withdraw+0x1338/0x140c fs/gfs2/util.c:352 sp : ffff800021627100 x29: ffff800021627220 x28: ffff800021627180 x27: ffff7000042c4e30 x26: dfff800000000000 x25: 1fffe0001b16c057 x24: 000000000000e74e x23: 0000000000000000 x22: ffff0000d8b60340 x21: ffff0000d8b600a8 x20: ffff0000d8b602bc x19: ffff0000d8b60000 x18: 1fffe0003679bf76 x17: ffff800015a8d000 x16: ffff80001232fa24 x15: ffff0001b3cdfbbc x14: 1ffff00002b520b2 x13: dfff800000000000 x12: 0000000000080000 x11: 00000000000532d3 x10: ffff800027ad9000 x9 : ffff80000a49d4f4 x8 : 00000000000532d4 x7 : ffff800008277b18 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000ab35c2c x2 : ffff0001b3cdfcd0 x1 : 0000000000000004 x0 : 0000000000000000 Call trace: gfs2_withdraw+0x1338/0x140c fs/gfs2/util.c:352 gfs2_meta_check_ii+0x80/0x9c fs/gfs2/util.c:511 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline] gfs2_meta_buffer+0x2c8/0x394 fs/gfs2/meta_io.c:492 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:72 [inline] gfs2_inode_refresh+0xc4/0xd9c fs/gfs2/glops.c:480 inode_go_instantiate+0x4c/0x68 fs/gfs2/glops.c:503 gfs2_instantiate+0x17c/0x2c8 fs/gfs2/glock.c:520 gfs2_glock_holder_ready fs/gfs2/glock.c:1328 [inline] gfs2_glock_wait+0x1b8/0x298 fs/gfs2/glock.c:1348 gfs2_glock_nq+0xa90/0x11d8 fs/gfs2/glock.c:1591 gfs2_glock_nq_init fs/gfs2/glock.h:255 [inline] gfs2_rindex_update+0x264/0x39c fs/gfs2/rgrp.c:1045 init_inodes+0x208/0x2d8 fs/gfs2/ops_fstype.c:917 gfs2_fill_super+0x16fc/0x1ef8 fs/gfs2/ops_fstype.c:1246 get_tree_bdev+0x360/0x54c fs/super.c:1366 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x90/0x274 fs/super.c:1573 do_new_mount+0x278/0x8fc fs/namespace.c:3056 path_mount+0x590/0xe5c fs/namespace.c:3386 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount fs/namespace.c:3584 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3584 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: f94013e0 97936032 17ffff55 978156eb (d4210000) ---[ end trace 0000000000000000 ]---