BTRFS info (device loop8): balance: start -susage=6923053402089660155,vrange=13364440250881433662..17575069693622854369 BTRFS info (device loop8): balance: ended with status: 0 BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 9611 Comm: syz.8.671 Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b88/0x7680 kernel/locking/lockdep.c:5049 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5662 fs_reclaim_acquire+0xbc/0x12c mm/page_alloc.c:4721 might_alloc include/linux/sched/mm.h:271 [inline] slab_pre_alloc_hook mm/slab.h:710 [inline] slab_alloc_node mm/slub.c:3318 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x64/0x37c mm/slub.c:3422 alloc_extent_state+0x3c/0x454 fs/btrfs/extent-io-tree.c:146 __set_extent_bit+0x1d0/0x1650 fs/btrfs/extent-io-tree.c:979 set_extent_bit+0x58/0x70 fs/btrfs/extent-io-tree.c:1171 btrfs_alloc_tree_block+0x9ec/0x1478 fs/btrfs/extent-tree.c:5022 __btrfs_cow_block+0x3f4/0x1824 fs/btrfs/ctree.c:441 btrfs_cow_block+0x314/0xaa4 fs/btrfs/ctree.c:613 btrfs_search_slot+0xb7c/0x2948 btrfs_update_root+0xec/0xad0 fs/btrfs/root-tree.c:132 update_cowonly_root fs/btrfs/transaction.c:1252 [inline] commit_cowonly_roots+0x4e4/0x740 fs/btrfs/transaction.c:1319 btrfs_commit_transaction+0x1228/0x2cd4 fs/btrfs/transaction.c:2425 del_balance_item fs/btrfs/volumes.c:3576 [inline] reset_balance_state+0x218/0x340 fs/btrfs/volumes.c:3640 btrfs_balance+0xe04/0xe40 fs/btrfs/volumes.c:4473 btrfs_ioctl_balance+0x3e4/0x778 fs/btrfs/ioctl.c:4511 btrfs_ioctl+0x72c/0xb08 fs/btrfs/ioctl.c:5550 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585