BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 6108 Comm: kworker/u8:10 Not tainted 6.9.0-syzkaller-09699-geb6a9339efeb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: btrfs-worker btrfs_work_helper Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 lookup_chain_cache_add kernel/locking/lockdep.c:3816 [inline] validate_chain kernel/locking/lockdep.c:3837 [inline] __lock_acquire+0x1c58/0x763c kernel/locking/lockdep.c:5137 lock_acquire+0x248/0x73c kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5c/0x7c kernel/locking/spinlock.c:162 lock_timer_base+0x120/0x230 kernel/time/timer.c:1051 __mod_timer+0x17c/0xcf4 kernel/time/timer.c:1132 mod_timer+0x2c/0x3c kernel/time/timer.c:1242 blk_stat_activate_nsecs block/blk-stat.h:147 [inline] rwb_arm_timer block/blk-wbt.c:418 [inline] wbt_wait+0x47c/0x558 block/blk-wbt.c:661 __rq_qos_throttle+0x6c/0xb4 block/blk-rq-qos.c:66 rq_qos_throttle block/blk-rq-qos.h:151 [inline] blk_mq_get_new_requests block/blk-mq.c:2860 [inline] blk_mq_submit_bio+0x564/0x1d94 block/blk-mq.c:2985 __submit_bio+0x210/0x2b0 block/blk-core.c:620 __submit_bio_noacct_mq block/blk-core.c:704 [inline] submit_bio_noacct_nocheck+0xa68/0xf60 block/blk-core.c:734 submit_bio_noacct+0xcbc/0x17a4 block/blk-core.c:844 submit_bio+0x374/0x564 block/blk-core.c:886 blkcg_punt_bio_submit+0xfc/0x114 block/blk-cgroup.c:252 btrfs_submit_dev_bio+0x3d8/0x704 fs/btrfs/bio.c:477 __btrfs_submit_bio+0x4ec/0x5b4 fs/btrfs/bio.c:516 run_one_async_done+0x100/0x164 fs/btrfs/bio.c:606 run_ordered_work fs/btrfs/async-thread.c:245 [inline] btrfs_work_helper+0x560/0xda4 fs/btrfs/async-thread.c:324 process_one_work+0x7b0/0x15e8 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:3393 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860