BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 6805 Comm: kworker/1:5 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Workqueue: xfs-buf/loop4 xfs_buf_ioend_work Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3855 [inline] validate_chain kernel/locking/lockdep.c:3876 [inline] __lock_acquire+0xf9c/0x30a4 kernel/locking/lockdep.c:5237 lock_acquire+0x140/0x2e0 kernel/locking/lockdep.c:5868 _raw_spin_lock_nested+0x50/0x6c kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested kernel/sched/core.c:639 [inline] raw_spin_rq_lock kernel/sched/sched.h:1558 [inline] rq_lock kernel/sched/sched.h:1885 [inline] ttwu_queue kernel/sched/core.c:3892 [inline] try_to_wake_up+0x440/0xe24 kernel/sched/core.c:4218 default_wake_function+0x58/0x74 kernel/sched/core.c:7202 autoremove_wake_function+0x24/0xf8 kernel/sched/wait.c:403 __wake_up_common kernel/sched/wait.c:108 [inline] __wake_up_common_lock kernel/sched/wait.c:125 [inline] __wake_up+0x10c/0x1a8 kernel/sched/wait.c:146 xfs_ail_update_finish+0x118/0x158 fs/xfs/xfs_trans_ail.c:774 xfs_trans_ail_delete+0x158/0x1a8 fs/xfs/xfs_trans_ail.c:916 xfs_buf_item_done+0x64/0xc0 fs/xfs/xfs_buf_item.c:1086 __xfs_buf_ioend+0x214/0x684 fs/xfs/xfs_buf.c:1199 xfs_buf_ioend_work+0x24/0x54 fs/xfs/xfs_buf.c:1229 process_one_work+0x7c0/0x1558 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3421 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844