BUG: MAX_LOCKDEP_ENTRIES too low! turning off the locking correctness validator. CPU: 0 PID: 360 Comm: syz-executor.4 Not tainted 6.1.0-rc5-syzkaller-00326-g77c51ba552a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 alloc_list_entry.cold+0x11/0x18 kernel/locking/lockdep.c:1402 add_lock_to_list kernel/locking/lockdep.c:1423 [inline] check_prev_add kernel/locking/lockdep.c:3167 [inline] check_prevs_add kernel/locking/lockdep.c:3216 [inline] validate_chain kernel/locking/lockdep.c:3831 [inline] __lock_acquire+0x3626/0x56d0 kernel/locking/lockdep.c:5055 lock_acquire kernel/locking/lockdep.c:5668 [inline] lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633 _raw_spin_lock_nested+0x34/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested kernel/sched/core.c:545 [inline] raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:530 raw_spin_rq_lock kernel/sched/sched.h:1354 [inline] rq_lock kernel/sched/sched.h:1644 [inline] __schedule+0x242/0x53f0 kernel/sched/core.c:6420 preempt_schedule_irq+0x52/0xa0 kernel/sched/core.c:6815 irqentry_exit+0x35/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x227/0x630 kernel/locking/lockdep.c:5636 Code: 79 9f 7e 83 f8 01 0f 85 3a 03 00 00 9c 58 f6 c4 02 0f 85 25 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:ffffc9001697f968 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92002d2ff30 RCX: 0000000000000001 RDX: 1ffff11005b79899 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000001 R09: ffffffff8ffcdadf R10: fffffbfff1ff9b5b R11: 1ffffffff212b1d5 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880183c1138 R15: 0000000000000000 __flush_workqueue+0x118/0x13a0 kernel/workqueue.c:2809 drain_workqueue+0x1a9/0x3c0 kernel/workqueue.c:2974 destroy_workqueue+0x75/0x810 kernel/workqueue.c:4418 kvm_mmu_uninit_tdp_mmu+0x8a/0x130 arch/x86/kvm/mmu/tdp_mmu.c:55 kvm_mmu_uninit_vm+0x24/0x50 arch/x86/kvm/mmu/mmu.c:6009 kvm_arch_destroy_vm+0x354/0x480 arch/x86/kvm/x86.c:12548 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1320 [inline] kvm_put_kvm+0x4fe/0xb80 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1354 kvm_vm_release+0x43/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1377 __fput+0x27c/0xa90 fs/file_table.c:320 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+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f803b43d40b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007f803b6cfb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 00007f803b43d40b RDX: 0000000000000000 RSI: 0000001b30825948 RDI: 0000000000000008 RBP: 00007f803b5ad980 R08: 0000000000000000 R09: 00000000e0116e3e R10: 0000000000000000 R11: 0000000000000293 R12: 00000000002c85b5 R13: 00007f803b6cfc80 R14: 00007f803b5ac050 R15: 0000000000000032 ---------------- Code disassembly (best guess): 0: 79 9f jns 0xffffffa1 2: 7e 83 jle 0xffffff87 4: f8 clc 5: 01 0f add %ecx,(%rdi) 7: 85 3a test %edi,(%rdx) 9: 03 00 add (%rax),%eax b: 00 9c 58 f6 c4 02 0f add %bl,0xf02c4f6(%rax,%rbx,2) 12: 85 25 03 00 00 48 test %esp,0x48000003(%rip) # 0x4800001b 18: 83 7c 24 08 00 cmpl $0x0,0x8(%rsp) 1d: 74 01 je 0x20 1f: fb sti 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction 2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx) 3b: 00 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 84 .byte 0x84 3f: 24 .byte 0x24