BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 6449 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b40/0x6544 kernel/locking/lockdep.c:5049 lock_acquire+0x20c/0x644 kernel/locking/lockdep.c:5662 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x54/0x6c kernel/locking/spinlock.c:154 rcu_note_context_switch+0x28c/0x1064 kernel/rcu/tree_plugin.h:326 __schedule+0x2a4/0x1b18 kernel/sched/core.c:6460 preempt_schedule_common+0xec/0x1a0 kernel/sched/core.c:6730 preempt_schedule+0x64/0x84 kernel/sched/core.c:6754 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irq+0x8c/0x90 kernel/locking/spinlock.c:202 spin_unlock_irq include/linux/spinlock.h:401 [inline] loop_queue_work drivers/block/loop.c:894 [inline] loop_queue_rq+0x954/0xa80 drivers/block/loop.c:1874 __blk_mq_issue_directly block/blk-mq.c:2631 [inline] __blk_mq_try_issue_directly+0x410/0x67c block/blk-mq.c:2684 blk_mq_try_issue_directly+0x3c/0x1d8 block/blk-mq.c:2708 blk_mq_submit_bio+0xf88/0x1a48 block/blk-mq.c:3045 __submit_bio+0x1d8/0x260 block/blk-core.c:591 __submit_bio_noacct_mq block/blk-core.c:668 [inline] submit_bio_noacct_nocheck+0x67c/0x9ec block/blk-core.c:697 submit_bio_noacct+0xcdc/0x16e0 block/blk-core.c:808 submit_bio+0x29c/0x3d0 block/blk-core.c:853 gfs2_log_submit_bio+0xa4/0x110 fs/gfs2/lops.c:248 gfs2_log_flush+0x8fc/0x1aa0 fs/gfs2/log.c:1105 gfs2_kill_sb+0x5c/0xd4 fs/gfs2/ops_fstype.c:1729 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xe8/0x108 fs/super.c:363 cleanup_mnt+0x37c/0x404 fs/namespace.c:1182 __cleanup_mnt+0x20/0x30 fs/namespace.c:1189 task_work_run+0x1ec/0x270 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x1f70/0x2b0c arch/arm64/kernel/signal.c:1137 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x138 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 BTRFS info (device loop7): last unmount of filesystem 14d642db-7b15-43e4-81e6-4b8fac6a25f8