BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 2241 Comm: kworker/u8:7 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 fs_reclaim_acquire+0xb8/0x118 mm/page_alloc.c:4251 might_alloc include/linux/sched/mm.h:318 [inline] slab_pre_alloc_hook mm/slub.c:4131 [inline] slab_alloc_node mm/slub.c:4209 [inline] kmem_cache_alloc_noprof+0x58/0x3e8 mm/slub.c:4236 __alloc_extent_buffer+0x3c/0x1e0 fs/btrfs/extent_io.c:2865 alloc_extent_buffer+0x1f0/0x237c fs/btrfs/extent_io.c:3280 btrfs_find_create_tree_block+0x3c/0x50 fs/btrfs/disk-io.c:606 btrfs_init_new_buffer fs/btrfs/extent-tree.c:5060 [inline] btrfs_alloc_tree_block+0x1c4/0xe5c fs/btrfs/extent-tree.c:5173 btrfs_force_cow_block+0x404/0x2044 fs/btrfs/ctree.c:517 btrfs_cow_block+0x3d4/0x934 fs/btrfs/ctree.c:699 btrfs_search_slot+0x9ec/0x2268 fs/btrfs/ctree.c:2097 btrfs_lookup_csum+0x114/0x3e0 fs/btrfs/file-item.c:217 btrfs_csum_file_blocks+0x20c/0x1244 fs/btrfs/file-item.c:1076 add_pending_csums fs/btrfs/inode.c:2650 [inline] btrfs_finish_one_ordered+0xa70/0x1b98 fs/btrfs/inode.c:3203 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 netdevsim netdevsim4 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim4 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim4 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim4 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50