XFS (loop0): WARNING: Reset corrupted AGFL on AG 0. 4 blocks leaked. Please unmount and run xfs_repair. XFS (loop0): Internal error !ino_ok at line 213 of file fs/xfs/libxfs/xfs_dir2.c. Caller xfs_dir_ino_validate+0x45/0xb0 fs/xfs/libxfs/xfs_dir2.c:220 CPU: 0 PID: 10 Comm: kworker/u4:0 Not tainted 6.4.0-rc6-syzkaller-00195-g40f71e7cd3c6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: xfs_iwalk-5005 xfs_pwork_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106 xfs_error_report fs/xfs/xfs_error.c:384 [inline] xfs_error_report fs/xfs/xfs_error.c:371 [inline] xfs_corruption_error+0x133/0x160 fs/xfs/xfs_error.c:401 xfs_dir_ino_validate fs/xfs/libxfs/xfs_dir2.c:213 [inline] xfs_dir_ino_validate+0x74/0xb0 fs/xfs/libxfs/xfs_dir2.c:207 xfs_dir2_sf_verify+0x5a1/0xa50 fs/xfs/libxfs/xfs_dir2_sf.c:779 xfs_ifork_verify_local_data+0xa1/0x130 fs/xfs/libxfs/xfs_inode_fork.c:706 xfs_iformat_data_fork+0x493/0x570 fs/xfs/libxfs/xfs_inode_fork.c:256 xfs_inode_from_disk+0xb6d/0x1340 fs/xfs/libxfs/xfs_inode_buf.c:245 xfs_iget_cache_miss fs/xfs/xfs_icache.c:639 [inline] xfs_iget+0xa58/0x2df0 fs/xfs/xfs_icache.c:777 xfs_qm_dqusage_adjust+0x15e/0x570 fs/xfs/xfs_qm.c:1157 xfs_iwalk_ag_recs+0x449/0x770 fs/xfs/xfs_iwalk.c:220 xfs_iwalk_run_callbacks+0x1fa/0x4b0 fs/xfs/xfs_iwalk.c:376 xfs_iwalk_ag+0x731/0x930 fs/xfs/xfs_iwalk.c:482 xfs_iwalk_ag_work+0x14a/0x1c0 fs/xfs/xfs_iwalk.c:624 xfs_pwork_work+0x7f/0x160 fs/xfs/xfs_pwork.c:47 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 XFS (loop0): Corruption detected. Unmount and run xfs_repair XFS (loop0): Invalid inode number 0x24 XFS (loop0): Metadata corruption detected at xfs_dir2_sf_verify+0x83f/0xa50 fs/xfs/libxfs/xfs_dir2_sf.c:774, inode 0x23 data fork XFS (loop0): Unmount and run xf