------------[ cut here ]------------ WARNING: CPU: 2 PID: 21452 at arch/x86/kvm/mmu/tdp_mmu.c:57 kvm_mmu_uninit_tdp_mmu+0xf8/0x130 arch/x86/kvm/mmu/tdp_mmu.c:57 Modules linked in: CPU: 3 PID: 21452 Comm: syz-executor.1 Not tainted 5.18.0-rc3-syzkaller-00006-gb7f73403a3e9 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:kvm_mmu_uninit_tdp_mmu+0xf8/0x130 arch/x86/kvm/mmu/tdp_mmu.c:57 Code: 83 d8 a0 00 00 48 39 c5 75 24 e8 a3 37 5a 00 e8 9e e0 45 00 5b 5d e9 97 37 5a 00 e8 62 2c a5 00 e9 3d ff ff ff e8 88 37 5a 00 <0f> 0b eb ad e8 7f 37 5a 00 0f 0b eb d3 e8 76 2c a5 00 e9 64 ff ff RSP: 0018:ffffc90004f8fd10 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffc90004f09000 RCX: 0000000000000000 RDX: ffff8880241002c0 RSI: ffffffff811e1688 RDI: 0000000000000001 RBP: ffffc90004f130e8 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817e9708 R11: 0000000000000000 R12: ffffc90004f09000 R13: ffffc90004f8fd58 R14: 0000000000000003 R15: ffffc90004f0a240 FS: 0000555555b68400(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000041 CR3: 0000000075b2a000 CR4: 0000000000152ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_arch_destroy_vm+0x350/0x470 arch/x86/kvm/x86.c:11860 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1230 [inline] kvm_put_kvm+0x4fa/0xb70 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1264 kvm_vcpu_release+0x4d/0x70 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3682 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7ff7e4a3bd2b 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:00007ffe9e7e7950 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007ff7e4a3bd2b RDX: 0000000000000000 RSI: 0000001b3162c324 RDI: 0000000000000005 RBP: 00007ff7e4b9d960 R08: 0000000000000000 R09: 000000001d014c94 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000230400 R13: 00007ffe9e7e7a50 R14: 00007ff7e4b9c030 R15: 0000000000000032