BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 13 Comm: kworker/u8:1 Not tainted 6.14.0-rc3-syzkaller-ge6747d19291c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 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 lock_acquire+0x23c/0x724 kernel/locking/lockdep.c:5851 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5c/0x7c kernel/locking/spinlock.c:162 get_partial_node+0x44/0x410 mm/slub.c:2834 get_partial mm/slub.c:2948 [inline] ___slab_alloc+0x6f0/0xf4c mm/slub.c:3806 __slab_alloc+0x74/0xd0 mm/slub.c:3916 __slab_alloc_node mm/slub.c:3991 [inline] slab_alloc_node mm/slub.c:4152 [inline] kmem_cache_alloc_noprof+0x300/0x410 mm/slub.c:4171 alloc_extent_state+0x3c/0x3c0 fs/btrfs/extent-io-tree.c:171 __set_extent_bit+0x204/0x1b34 fs/btrfs/extent-io-tree.c:1082 set_extent_bit+0x54/0x6c fs/btrfs/extent-io-tree.c:1285 btrfs_init_new_buffer fs/btrfs/extent-tree.c:5081 [inline] btrfs_alloc_tree_block+0x7e0/0x10c8 fs/btrfs/extent-tree.c:5130 btrfs_force_cow_block+0x428/0x1c80 fs/btrfs/ctree.c:506 btrfs_cow_block+0x2ec/0x7cc fs/btrfs/ctree.c:688 commit_cowonly_roots+0x150/0x750 fs/btrfs/transaction.c:1335 btrfs_commit_transaction+0x1170/0x2ba4 fs/btrfs/transaction.c:2446 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:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3398 kthread+0x65c/0x7b0 kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop0): qgroup scan completed (inconsistency flag cleared)