BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 4539 Comm: kworker/0:12 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: xfs-inodegc/loop1 xfs_inodegc_worker Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b40/0x6544 kernel/locking/lockdep.c:5049 lock_acquire+0x20c/0x644 kernel/locking/lockdep.c:5662 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x54/0x6c kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] xfs_extent_busy_insert+0x1e8/0x694 fs/xfs/xfs_extent_busy.c:45 __xfs_free_extent+0x230/0x33c fs/xfs/libxfs/xfs_alloc.c:3511 xfs_trans_free_extent+0x340/0x82c fs/xfs/xfs_extfree_item.c:367 xfs_extent_free_finish_item+0x3c/0xa8 fs/xfs/xfs_extfree_item.c:496 xfs_defer_finish_one fs/xfs/libxfs/xfs_defer.c:486 [inline] xfs_defer_finish_noroll+0xecc/0x1f10 fs/xfs/libxfs/xfs_defer.c:570 xfs_defer_finish+0x24/0x184 fs/xfs/libxfs/xfs_defer.c:597 xfs_itruncate_extents_flags+0x2bc/0xa0c fs/xfs/xfs_inode.c:1388 xfs_itruncate_extents fs/xfs/xfs_inode.h:559 [inline] xfs_inactive_truncate+0x120/0x1ac fs/xfs/xfs_inode.c:1527 xfs_inactive+0x46c/0x604 fs/xfs/xfs_inode.c:1773 xfs_inodegc_inactivate fs/xfs/xfs_icache.c:1871 [inline] xfs_inodegc_worker+0x2c8/0x86c fs/xfs/xfs_icache.c:1909 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850