BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 6688 Comm: kworker/u4:18 Not tainted 6.1.116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: xfs_iwalk-8464 xfs_pwork_work Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b88/0x7680 kernel/locking/lockdep.c:5049 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162 __debug_check_no_obj_freed lib/debugobjects.c:968 [inline] debug_check_no_obj_freed+0x14c/0x478 lib/debugobjects.c:1009 slab_free_hook mm/slub.c:1699 [inline] slab_free_freelist_hook mm/slub.c:1750 [inline] slab_free mm/slub.c:3661 [inline] kmem_cache_free+0x29c/0x588 mm/slub.c:3683 xfs_trans_free+0x3c0/0x8e0 fs/xfs/xfs_trans.c:76 __xfs_trans_commit+0x8ac/0x1224 fs/xfs/xfs_trans.c:1014 xfs_trans_commit+0x24/0x34 fs/xfs/xfs_trans.c:1056 xfs_dquot_disk_alloc+0x848/0xc70 fs/xfs/xfs_dquot.c:384 xfs_qm_dqread+0x1b8/0x824 fs/xfs/xfs_dquot.c:665 xfs_qm_dqget+0x1ec/0x5bc fs/xfs/xfs_dquot.c:869 xfs_qm_quotacheck_dqadjust+0xe0/0x724 fs/xfs/xfs_qm.c:1085 xfs_qm_dqusage_adjust+0x478/0x654 fs/xfs/xfs_qm.c:1204 xfs_iwalk_ag_recs+0x458/0x8e8 fs/xfs/xfs_iwalk.c:220 xfs_iwalk_run_callbacks+0x1bc/0x3b4 fs/xfs/xfs_iwalk.c:376 xfs_iwalk_ag+0x8d4/0x9b0 fs/xfs/xfs_iwalk.c:482 xfs_iwalk_ag_work+0x10c/0x1a8 fs/xfs/xfs_iwalk.c:624 xfs_pwork_work+0x80/0x1a4 fs/xfs/xfs_pwork.c:47 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864