BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 2000 Comm: kworker/u8:6 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: xfs_iwalk-13008 xfs_pwork_work Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lookup_chain_cache_add kernel/locking/lockdep.c:3851 [inline] validate_chain kernel/locking/lockdep.c:3872 [inline] __lock_acquire+0x1fb8/0x77c8 kernel/locking/lockdep.c:5202 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5825 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5c/0x7c kernel/locking/spinlock.c:162 get_partial_node+0x44/0x404 mm/slub.c:2826 get_partial mm/slub.c:2940 [inline] ___slab_alloc+0x6f0/0xf4c mm/slub.c:3798 __slab_alloc+0x74/0xd0 mm/slub.c:3908 __slab_alloc_node mm/slub.c:3961 [inline] slab_alloc_node mm/slub.c:4122 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_noprof+0x318/0x49c mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] xfs_buf_alloc_kmem fs/xfs/xfs_buf.c:344 [inline] xfs_buf_find_insert+0x208/0x1244 fs/xfs/xfs_buf.c:646 xfs_buf_get_map+0x11a4/0x18f0 fs/xfs/xfs_buf.c:758 xfs_buf_read_map+0xe8/0x9f8 fs/xfs/xfs_buf.c:863 xfs_trans_read_buf_map+0x20c/0xafc fs/xfs/xfs_trans_buf.c:289 xfs_trans_read_buf fs/xfs/xfs_trans.h:212 [inline] xfs_alloc_read_agfl+0x1fc/0x414 fs/xfs/libxfs/xfs_alloc.c:886 xfs_alloc_fix_freelist+0xaa8/0x16a4 fs/xfs/libxfs/xfs_alloc.c:2950 xfs_alloc_vextent_prepare_ag+0xd4/0x72c fs/xfs/libxfs/xfs_alloc.c:3532 xfs_alloc_vextent_iterate_ags+0x130/0xa40 fs/xfs/libxfs/xfs_alloc.c:3717 xfs_alloc_vextent_start_ag+0x358/0x8ac fs/xfs/libxfs/xfs_alloc.c:3806 xfs_bmap_btalloc_best_length fs/xfs/libxfs/xfs_bmap.c:3731 [inline] xfs_bmap_btalloc fs/xfs/libxfs/xfs_bmap.c:3776 [inline] xfs_bmapi_allocate+0x1390/0x2a7c fs/xfs/libxfs/xfs_bmap.c:4189 xfs_bmapi_write+0x958/0x15a0 fs/xfs/libxfs/xfs_bmap.c:4518 xfs_dquot_disk_alloc+0x510/0xc0c fs/xfs/xfs_dquot.c:350 xfs_qm_dqread+0x1a4/0x72c fs/xfs/xfs_dquot.c:689 xfs_qm_dqget+0x274/0x670 fs/xfs/xfs_dquot.c:901 xfs_qm_quotacheck_dqadjust+0xe0/0x614 fs/xfs/xfs_qm.c:1101 xfs_qm_dqusage_adjust+0x578/0x654 fs/xfs/xfs_qm.c:1234 xfs_iwalk_ag_recs+0x450/0x848 fs/xfs/xfs_iwalk.c:213 xfs_iwalk_run_callbacks+0x1c0/0x3f4 fs/xfs/xfs_iwalk.c:371 xfs_iwalk_ag+0x8d0/0x9d0 fs/xfs/xfs_iwalk.c:477 xfs_iwalk_ag_work+0x10c/0x1a8 fs/xfs/xfs_iwalk.c:619 xfs_pwork_work+0x80/0x1a4 fs/xfs/xfs_pwork.c:47 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862