BUG: MAX_LOCKDEP_ENTRIES too low! turning off the locking correctness validator. CPU: 1 PID: 8660 Comm: syz-executor.2 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 alloc_list_entry kernel/locking/lockdep.c:1353 [inline] add_lock_to_list.constprop.0.cold+0x11/0x18 kernel/locking/lockdep.c:1374 check_prev_add kernel/locking/lockdep.c:3007 [inline] check_prevs_add kernel/locking/lockdep.c:3060 [inline] validate_chain kernel/locking/lockdep.c:3675 [inline] __lock_acquire+0x2f37/0x54c0 kernel/locking/lockdep.c:4901 lock_acquire kernel/locking/lockdep.c:5511 [inline] lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5476 do_write_seqcount_begin_nested include/linux/seqlock.h:520 [inline] do_write_seqcount_begin include/linux/seqlock.h:545 [inline] vtime_task_switch_generic+0xb5/0x5a0 kernel/sched/cputime.c:768 vtime_task_switch include/linux/vtime.h:49 [inline] finish_task_switch.isra.0+0x4bd/0x810 kernel/sched/core.c:4188 context_switch kernel/sched/core.c:4325 [inline] __schedule+0x919/0x21b0 kernel/sched/core.c:5073 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:5530 irqentry_exit_cond_resched kernel/entry/common.c:392 [inline] irqentry_exit_cond_resched kernel/entry/common.c:384 [inline] irqentry_exit+0x7a/0xa0 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:lock_acquire+0x1ef/0x740 kernel/locking/lockdep.c:5479 Code: 1c a9 7e 83 f8 01 0f 85 ee 03 00 00 9c 58 f6 c4 02 0f 85 d9 03 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc90001d379b8 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920003a6f39 RCX: 0000000000000001 RDX: 1ffff110041ec54d RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 00000000001bfee8 R09: 0000000000000001 R10: fffffbfff1f851af R11: 1ffffffff1f09b88 R12: 0000000000000000 R13: ffff888021874138 R14: 0000000000000000 R15: 0000000000000000 flush_workqueue+0x110/0x13e0 kernel/workqueue.c:2786 drain_workqueue+0x1a5/0x3c0 kernel/workqueue.c:2951 destroy_workqueue+0x71/0x760 kernel/workqueue.c:4382 __btrfs_destroy_workqueue fs/btrfs/async-thread.c:370 [inline] btrfs_destroy_workqueue+0x12b/0x600 fs/btrfs/async-thread.c:381 btrfs_stop_all_workers+0x94/0x2fe fs/btrfs/disk-io.c:2049 close_ctree+0x66d/0x789 fs/btrfs/disk-io.c:4317 generic_shutdown_super+0x144/0x370 fs/super.c:464 kill_anon_super+0x36/0x60 fs/super.c:1056 btrfs_kill_super+0x38/0x50 fs/btrfs/super.c:2353 deactivate_locked_super+0x94/0x160 fs/super.c:335 deactivate_super+0xad/0xd0 fs/super.c:366 cleanup_mnt+0x3a3/0x530 fs/namespace.c:1136 task_work_run+0xdd/0x1a0 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x249/0x250 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x467a57 Code: ff d0 48 89 c7 b8 3c 00 00 00 0f 05 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdf6bb4158 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000467a57 RDX: 00007ffdf6bb422b RSI: 0000000000000002 RDI: 00007ffdf6bb4220 RBP: 00007ffdf6bb4220 R08: 00000000ffffffff R09: 00007ffdf6bb3ff0 R10: 00000000024be8e3 R11: 0000000000000246 R12: 00000000004bee98 R13: 00007ffdf6bb52f0 R14: 00000000024be810 R15: 00007ffdf6bb5330