BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 8064 Comm: kworker/u8:13 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: btrfs-endio-write btrfs_work_helper 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+0x14c/0x2e0 kernel/locking/lockdep.c:5868 do_write_seqcount_begin_nested include/linux/seqlock.h:477 [inline] do_write_seqcount_begin include/linux/seqlock.h:503 [inline] psi_write_begin+0x1b0/0x320 kernel/sched/psi.c:183 psi_task_change+0xd8/0x318 kernel/sched/psi.c:919 psi_enqueue kernel/sched/stats.h:166 [inline] enqueue_task+0x250/0x2f4 kernel/sched/core.c:2092 activate_task kernel/sched/core.c:2132 [inline] ttwu_do_activate+0x1a4/0x764 kernel/sched/core.c:3741 ttwu_queue kernel/sched/core.c:4004 [inline] try_to_wake_up+0x4c4/0xe24 kernel/sched/core.c:4328 default_wake_function+0x58/0x74 kernel/sched/core.c:7300 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 clear_state_bit+0x1c0/0x390 fs/btrfs/extent-io-tree.c:576 btrfs_clear_extent_bit_changeset+0x8fc/0xdb8 fs/btrfs/extent-io-tree.c:749 btrfs_clear_extent_bit fs/btrfs/extent-io-tree.h:185 [inline] btrfs_finish_one_ordered+0xfbc/0x1b98 fs/btrfs/inode.c:3227 btrfs_finish_ordered_io+0x120/0x134 fs/btrfs/inode.c:3325 finish_ordered_fn+0x20/0x30 fs/btrfs/ordered-data.c:347 btrfs_work_helper+0x380/0xca8 fs/btrfs/async-thread.c:312 process_one_work+0x7e8/0x155c kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3400 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 bridge0: port 1(bridge_slave_0) entered blocking state bridge0: port 1(bridge_slave_0) entered forwarding state netdevsim netdevsim1 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim1 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim1 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim1 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0