BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 6653 Comm: kworker/u8:11 Not tainted 6.14.0-rc7-syzkaller-ga2392f333575 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: btrfs-qgroup-rescan btrfs_work_helper Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:466 (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:3853 [inline] validate_chain kernel/locking/lockdep.c:3874 [inline] __lock_acquire+0x2070/0x7904 kernel/locking/lockdep.c:5228 reacquire_held_locks+0x234/0x454 kernel/locking/lockdep.c:5376 __lock_release kernel/locking/lockdep.c:5565 [inline] lock_release+0x358/0x9e4 kernel/locking/lockdep.c:5872 __mutex_unlock_slowpath+0xec/0x734 kernel/locking/mutex.c:891 mutex_unlock+0x18/0x24 kernel/locking/mutex.c:523 btrfs_commit_transaction+0x1a38/0x2ba4 fs/btrfs/transaction.c:2510 btrfs_qgroup_rescan_worker+0x127c/0x163c fs/btrfs/qgroup.c:3853 btrfs_work_helper+0x384/0xd60 fs/btrfs/async-thread.c:314 process_one_work+0x810/0x1638 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3400 kthread+0x65c/0x7b0 kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 BTRFS info (device loop4): qgroup scan completed (inconsistency flag cleared)