BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 41 Comm: kworker/0:1H Not tainted 6.13.0-rc2-syzkaller-g2e7aff49b5da #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: xfs-log/loop3 xlog_ioend_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+0x2070/0x7904 kernel/locking/lockdep.c:5226 lock_acquire+0x23c/0x724 kernel/locking/lockdep.c:5849 _raw_spin_lock_nested+0x50/0x6c kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested kernel/sched/core.c:598 [inline] raw_spin_rq_lock kernel/sched/sched.h:1514 [inline] rq_lock kernel/sched/sched.h:1813 [inline] ttwu_queue kernel/sched/core.c:3991 [inline] try_to_wake_up+0x604/0x11d4 kernel/sched/core.c:4321 wake_up_process+0x18/0x24 kernel/sched/core.c:4454 xfs_trans_ail_update_bulk+0xd20/0xd8c fs/xfs/xfs_trans_ail.c:853 xlog_cil_ail_insert_batch fs/xfs/xfs_log_cil.c:703 [inline] xlog_cil_ail_insert fs/xfs/xfs_log_cil.c:857 [inline] xlog_cil_committed+0x908/0xd1c fs/xfs/xfs_log_cil.c:904 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:934 xlog_state_do_iclog_callbacks fs/xfs/xfs_log.c:2525 [inline] xlog_state_do_callback+0x4a4/0xe58 fs/xfs/xfs_log.c:2550 xlog_state_done_syncing+0x180/0x3ac fs/xfs/xfs_log.c:2603 xlog_ioend_work+0xbc/0xf8 fs/xfs/xfs_log.c:1247 process_one_work+0x7a8/0x15cc 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