------------[ cut here ]------------ WARNING: CPU: 0 PID: 5103 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: 0 PID: 5103 Comm: syz-executor.1 Not tainted 5.18.0-rc3-syzkaller-00060-g59f0c2447e25 #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 e3 4d 5a 00 e8 9e e0 45 00 5b 5d e9 d7 4d 5a 00 e8 b2 42 a5 00 e9 3d ff ff ff e8 c8 4d 5a 00 <0f> 0b eb ad e8 bf 4d 5a 00 0f 0b eb d3 e8 c6 42 a5 00 e9 64 ff ff RSP: 0018:ffffc90005f07d10 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffc90005fbf000 RCX: 0000000000000000 RDX: ffff88801caea080 RSI: ffffffff811e1688 RDI: 0000000000000001 RBP: ffffc90005fc90e8 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817ead48 R11: 0000000000000000 R12: ffffc90005fbf000 R13: ffffc90005f07d58 R14: 0000000000000003 R15: ffffc90005fc0240 FS: 000055555753d400(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffff8 CR3: 00000000509e1000 CR4: 0000000000152ef0 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:0x7fcb5663bd2b 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:00007ffd0bd66330 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007fcb5663bd2b RDX: 00007fcb567a0908 RSI: ffffffffffffffff RDI: 0000000000000006 RBP: 00007fcb5679d960 R08: 0000000000000000 R09: 00007fcb567a0910 R10: 00007ffd0bd66430 R11: 0000000000000293 R12: 000000000003e493 R13: 00007ffd0bd66430 R14: 00007fcb5679bf60 R15: 0000000000000032