BTRFS info (device loop6): first mount of filesystem ed167579-eb65-4e76-9a50-61ac97e9b59d BTRFS info (device loop6): using sha256 (sha256-lib) checksum algorithm BTRFS info (device loop6): using free-space-tree BTRFS info (device loop6): rebuilding free space tree BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 8493 Comm: syz.6.297 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 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 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5c/0x7c kernel/locking/spinlock.c:162 debug_object_deactivate+0x70/0x330 lib/debugobjects.c:873 debug_hrtimer_deactivate kernel/time/hrtimer.c:450 [inline] debug_deactivate+0x34/0x2c0 kernel/time/hrtimer.c:490 remove_hrtimer kernel/time/hrtimer.c:1156 [inline] hrtimer_try_to_cancel+0x2e4/0x3a4 kernel/time/hrtimer.c:1365 update_curr_dl_se+0x118/0x5ec kernel/sched/deadline.c:1468 dl_server_update+0x84/0xb0 kernel/sched/deadline.c:1582 update_curr+0x338/0x600 kernel/sched/fair.c:1243 put_prev_entity+0x54/0x258 kernel/sched/fair.c:5544 pick_next_task_fair+0x548/0x804 kernel/sched/fair.c:8809 __pick_next_task kernel/sched/core.c:6001 [inline] pick_next_task kernel/sched/core.c:6520 [inline] __schedule+0x660/0x2864 kernel/sched/core.c:6902 preempt_schedule_irq+0x80/0x188 kernel/sched/core.c:7288 arm64_preempt_schedule_irq+0x44/0x58 arch/arm64/kernel/entry-common.c:305 __el1_irq arch/arm64/kernel/entry-common.c:656 [inline] el1_interrupt+0x3c/0x54 arch/arm64/kernel/entry-common.c:668 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:673 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:592 __sanitizer_cov_trace_pc+0x7c/0x84 kernel/kcov.c:235 (P) kunwind_next_frame_record arch/arm64/kernel/stacktrace.c:238 [inline] kunwind_next arch/arm64/kernel/stacktrace.c:266 [inline] do_kunwind arch/arm64/kernel/stacktrace.c:295 [inline] kunwind_stack_walk arch/arm64/kernel/stacktrace.c:366 [inline] arch_stack_walk+0x1b8/0x368 arch/arm64/kernel/stacktrace.c:390 stack_trace_save+0x94/0xd8 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:68 kasan_save_alloc_info+0x44/0x54 mm/kasan/generic.c:562 unpoison_slab_object mm/kasan/common.c:330 [inline] __kasan_slab_alloc+0x70/0x88 mm/kasan/common.c:356 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4180 [inline] slab_alloc_node mm/slub.c:4229 [inline] kmem_cache_alloc_noprof+0x238/0x3e8 mm/slub.c:4236 add_delayed_ref+0xf0/0x1990 fs/btrfs/delayed-ref.c:1004 btrfs_add_delayed_tree_ref+0x94/0x148 fs/btrfs/delayed-ref.c:1094 btrfs_free_tree_block+0x2b4/0xa54 fs/btrfs/extent-tree.c:3466 btrfs_force_cow_block+0xc18/0x2044 fs/btrfs/ctree.c:566 btrfs_cow_block+0x3d4/0x934 fs/btrfs/ctree.c:699 btrfs_search_slot+0x9ec/0x2268 fs/btrfs/ctree.c:2097 update_dev_stat_item fs/btrfs/volumes.c:7717 [inline] btrfs_run_dev_stats+0x238/0xe00 fs/btrfs/volumes.c:7792 commit_cowonly_roots+0x16c/0x6fc fs/btrfs/transaction.c:1348 btrfs_commit_transaction+0x10d0/0x2ce4 fs/btrfs/transaction.c:2462 btrfs_rebuild_free_space_tree+0x240/0x75c fs/btrfs/free-space-tree.c:1384 btrfs_start_pre_rw_mount+0xed8/0x1728 fs/btrfs/disk-io.c:3075 open_ctree+0x2324/0x32c4 fs/btrfs/disk-io.c:3617 btrfs_fill_super fs/btrfs/super.c:977 [inline] btrfs_get_tree_super fs/btrfs/super.c:1937 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2074 [inline] btrfs_get_tree+0xd5c/0x1590 fs/btrfs/super.c:2108 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596