BTRFS info (device loop1): auto enabling async discard BTRFS info (device loop1): balance: start -f -s BTRFS info (device loop1): relocating block group 1048576 flags system BTRFS info (device loop1): balance: ended with status: 0 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 14566 Comm: syz-executor.1 Not tainted 6.4.0-rc7-syzkaller-ge40939bbfc68 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3794 [inline] validate_chain kernel/locking/lockdep.c:3815 [inline] __lock_acquire+0x1c44/0x7604 kernel/locking/lockdep.c:5088 lock_acquire+0x23c/0x71c kernel/locking/lockdep.c:5705 seqcount_lockdep_reader_access+0xa0/0xd4 include/linux/seqlock.h:102 read_seqbegin include/linux/seqlock.h:836 [inline] zone_span_seqbegin include/linux/memory_hotplug.h:132 [inline] page_outside_zone_boundaries mm/page_alloc.c:538 [inline] bad_range+0xa8/0x2b4 mm/page_alloc.c:565 expand mm/page_alloc.c:1592 [inline] __rmqueue_smallest mm/page_alloc.c:1774 [inline] __rmqueue mm/page_alloc.c:2303 [inline] rmqueue_bulk mm/page_alloc.c:2329 [inline] __rmqueue_pcplist+0xfac/0x2054 mm/page_alloc.c:2958 rmqueue_pcplist mm/page_alloc.c:3000 [inline] rmqueue mm/page_alloc.c:3043 [inline] get_page_from_freelist+0x660/0x3364 mm/page_alloc.c:3499 __alloc_pages+0x220/0x698 mm/page_alloc.c:4768 alloc_pages+0x4bc/0x7c0 folio_alloc+0x28/0x6c mm/mempolicy.c:2289 filemap_alloc_folio+0xc4/0x470 mm/filemap.c:976 __filemap_get_folio+0x324/0x964 mm/filemap.c:1971 pagecache_get_page+0x3c/0x13c mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:635 [inline] alloc_extent_buffer+0x210/0x1154 fs/btrfs/extent_io.c:3888 btrfs_find_create_tree_block+0x3c/0x50 fs/btrfs/disk-io.c:836 btrfs_init_new_buffer fs/btrfs/extent-tree.c:4776 [inline] btrfs_alloc_tree_block+0x214/0x1438 fs/btrfs/extent-tree.c:4895 __btrfs_cow_block+0x3f4/0x16ec fs/btrfs/ctree.c:541 btrfs_cow_block+0x354/0x744 fs/btrfs/ctree.c:696 btrfs_search_slot+0xb8c/0x2998 btrfs_update_root+0xec/0xad0 fs/btrfs/root-tree.c:137 update_cowonly_root fs/btrfs/transaction.c:1239 [inline] commit_cowonly_roots+0x4e4/0x748 fs/btrfs/transaction.c:1306 btrfs_commit_transaction+0x10cc/0x2d24 fs/btrfs/transaction.c:2405 del_balance_item fs/btrfs/volumes.c:3529 [inline] reset_balance_state+0x218/0x340 fs/btrfs/volumes.c:3593 btrfs_balance+0xe24/0xe60 fs/btrfs/volumes.c:4431 btrfs_ioctl_balance+0x3e4/0x778 fs/btrfs/ioctl.c:3599 btrfs_ioctl+0x72c/0xb08 fs/btrfs/ioctl.c:4632 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/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x244 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:191 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591