BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 4474 Comm: kworker/0:9 Not tainted 6.1.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: xfs-buf/loop1 xfs_buf_ioend_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 do_write_seqcount_begin_nested include/linux/seqlock.h:515 [inline] do_write_seqcount_begin include/linux/seqlock.h:541 [inline] psi_group_change+0x278/0x134c kernel/sched/psi.c:801 psi_task_change+0xf4/0x228 kernel/sched/psi.c:924 psi_enqueue kernel/sched/stats.h:145 [inline] enqueue_task kernel/sched/core.c:2052 [inline] activate_task+0x268/0x2d0 kernel/sched/core.c:2084 ttwu_do_activate+0x150/0x25c kernel/sched/core.c:3696 ttwu_queue kernel/sched/core.c:3901 [inline] try_to_wake_up+0x514/0xe60 kernel/sched/core.c:4224 default_wake_function+0x4c/0x60 kernel/sched/core.c:6882 autoremove_wake_function+0x24/0xf8 kernel/sched/wait.c:419 __wake_up_common+0x23c/0x3bc kernel/sched/wait.c:107 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up+0x10c/0x1a8 kernel/sched/wait.c:160 xfs_ail_update_finish+0x170/0x1ac fs/xfs/xfs_trans_ail.c:765 xfs_trans_ail_delete+0x22c/0x2b0 fs/xfs/xfs_trans_ail.c:893 xfs_buf_item_done+0x58/0x94 fs/xfs/xfs_buf_item.c:1086 xfs_buf_ioend+0x2d4/0x78c fs/xfs/xfs_buf.c:1326 xfs_buf_ioend_work+0x20/0x30 fs/xfs/xfs_buf.c:1351 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