BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: xfs_iwalk-7828 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+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 local_lock_acquire+0x3c/0x98 include/linux/local_lock_internal.h:29 ___slab_alloc+0x1cc/0xe8c mm/slub.c:3099 __slab_alloc+0x74/0xd0 mm/slub.c:3279 slab_alloc_node mm/slub.c:3364 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x2a0/0x318 mm/slub.c:3422 kmem_cache_zalloc include/linux/slab.h:689 [inline] xfs_buf_item_init+0x70/0x43c fs/xfs/xfs_buf_item.c:882 _xfs_trans_bjoin+0x54/0x13c fs/xfs/xfs_trans_buf.c:75 xfs_trans_read_buf_map+0x2a0/0xac4 fs/xfs/xfs_trans_buf.c:310 xfs_trans_read_buf fs/xfs/xfs_trans.h:212 [inline] xfs_read_agf+0x24c/0x5f4 fs/xfs/libxfs/xfs_alloc.c:3102 xfs_alloc_read_agf+0x184/0xb8c fs/xfs/libxfs/xfs_alloc.c:3134 xfs_alloc_fix_freelist+0x480/0xfb4 fs/xfs/libxfs/xfs_alloc.c:2676 xfs_alloc_vextent+0xb0c/0x1bcc fs/xfs/libxfs/xfs_alloc.c:3309 xfs_bmap_btalloc+0xa90/0x17c0 fs/xfs/libxfs/xfs_bmap.c:3662 xfs_bmapi_allocate+0x558/0xbcc fs/xfs/libxfs/xfs_bmap.c:-1 xfs_bmapi_write+0x668/0xedc fs/xfs/libxfs/xfs_bmap.c:4462 xfs_dquot_disk_alloc+0x3ec/0xa00 fs/xfs/xfs_dquot.c:329 xfs_qm_dqread+0x158/0x6e4 fs/xfs/xfs_dquot.c:665 xfs_qm_dqget+0x180/0x510 fs/xfs/xfs_dquot.c:869 xfs_qm_quotacheck_dqadjust+0xc4/0x664 fs/xfs/xfs_qm.c:1085 xfs_qm_dqusage_adjust+0x3e4/0x554 fs/xfs/xfs_qm.c:1211 xfs_iwalk_ag_recs+0x434/0x854 fs/xfs/xfs_iwalk.c:220 xfs_iwalk_run_callbacks+0x1bc/0x3b0 fs/xfs/xfs_iwalk.c:376 xfs_iwalk_ag+0x6a4/0x814 fs/xfs/xfs_iwalk.c:482 xfs_iwalk_ag_work+0xfc/0x1a8 fs/xfs/xfs_iwalk.c:624 xfs_pwork_work+0x80/0x1a4 fs/xfs/xfs_pwork.c:47 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