BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 PID: 22687 Comm: syz-executor.3 Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 add_chain_cache kernel/locking/lockdep.c:3713 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3794 [inline] validate_chain kernel/locking/lockdep.c:3815 [inline] __lock_acquire+0x434b/0x5f30 kernel/locking/lockdep.c:5088 lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __flush_workqueue+0x118/0x13a0 kernel/workqueue.c:2928 drain_workqueue+0x1c1/0x3e0 kernel/workqueue.c:3093 destroy_workqueue+0xc8/0x8e0 kernel/workqueue.c:4561 btrfs_stop_all_workers+0x13d/0x3a0 fs/btrfs/disk-io.c:1999 close_ctree+0x4e4/0xf60 fs/btrfs/disk-io.c:4636 generic_shutdown_super+0x158/0x480 fs/super.c:500 kill_anon_super+0x3a/0x60 fs/super.c:1107 btrfs_kill_super+0x3c/0x50 fs/btrfs/super.c:2144 deactivate_locked_super+0x98/0x160 fs/super.c:331 deactivate_super+0xb1/0xd0 fs/super.c:362 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1177 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5be008d7f7 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc3577eff8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f5be008d7f7 RDX: 00007ffc3577f0ca RSI: 000000000000000a RDI: 00007ffc3577f0c0 RBP: 00007ffc3577f0c0 R08: 00000000ffffffff R09: 00007ffc3577ee90 R10: 0000555556ae6873 R11: 0000000000000246 R12: 00007f5be00d643b R13: 00007ffc35780180 R14: 0000555556ae6810 R15: 00007ffc357801c0