inode = 2 2073 function = gfs2_dirent_scan, file = fs/gfs2/dir.c, line = 602 gfs2: fsid=syz:syz.s: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:341! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4412 Comm: syz.0.62 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : gfs2_withdraw+0x1214/0x12a4 fs/gfs2/util.c:341 lr : gfs2_withdraw+0x1214/0x12a4 fs/gfs2/util.c:341 sp : ffff800022176e40 x29: ffff800022176f60 x28: ffff70000442edd8 x27: dfff800000000000 x26: 1fffe0001b322057 x25: ffff800022176ec0 x24: ffff8000120af3e0 x23: 000000000001c11f x22: ffff0000d9910340 x21: ffff0000d99100a8 x20: ffff0000d99102bc x19: ffff0000d9910000 x18: 1fffe0003683298e x17: 1fffe0003683298e x16: ffff800011b5ac80 x15: ffff800014c0f2a0 x14: 1ffff0000296e06c x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000d8dbd1c0 x8 : ffff80000a39ce8c x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff800008557710 x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000000 Call trace: gfs2_withdraw+0x1214/0x12a4 fs/gfs2/util.c:341 gfs2_consist_inode_i+0xcc/0xe8 fs/gfs2/util.c:456 gfs2_dirent_scan+0x458/0x584 fs/gfs2/dir.c:602 gfs2_dirent_search+0x28c/0x790 fs/gfs2/dir.c:850 gfs2_dir_search+0xb8/0x280 fs/gfs2/dir.c:1651 gfs2_lookupi+0x3c0/0x538 fs/gfs2/inode.c:332 gfs2_lookup_simple+0xe4/0x174 fs/gfs2/inode.c:273 init_journal+0x194/0x1f6c fs/gfs2/ops_fstype.c:748 init_inodes+0xe0/0x2d8 fs/gfs2/ops_fstype.c:891 gfs2_fill_super+0x1640/0x2010 fs/gfs2/ops_fstype.c:1249 get_tree_bdev+0x360/0x54c fs/super.c:1325 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1332 vfs_get_tree+0x90/0x274 fs/super.c:1530 do_new_mount+0x278/0x8fc fs/namespace.c:3012 path_mount+0x594/0x101c fs/namespace.c:3342 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3540 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: f9401fe0 9794eb9e 17ffff43 9784a114 (d4210000) ---[ end trace 548f25cf95029e5d ]---