kvm: vcpu 0: requested lapic timer restore with starting count register 0x390=3131458188 (200413324032 ns) > initial count (13543424576 ns). Using initial count to start timer. ------------[ cut here ]------------ WARNING: CPU: 3 PID: 26414 at arch/x86/kvm/lapic.c:330 kvm_recalculate_logical_map arch/x86/kvm/lapic.c:330 [inline] WARNING: CPU: 3 PID: 26414 at arch/x86/kvm/lapic.c:330 kvm_recalculate_apic_map+0x1267/0x14e0 arch/x86/kvm/lapic.c:413 Modules linked in: CPU: 3 PID: 26414 Comm: syz-executor.1 Not tainted 6.4.0-rc1-syzkaller-00021-gad2fd53a7870 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:kvm_recalculate_logical_map arch/x86/kvm/lapic.c:330 [inline] RIP: 0010:kvm_recalculate_apic_map+0x1267/0x14e0 arch/x86/kvm/lapic.c:413 Code: 0f a4 a2 00 48 8b 3c 24 ba 01 00 00 00 be 04 00 00 00 e8 ac 96 fb ff 48 c7 44 24 08 00 00 00 00 e9 9b f7 ff ff e8 39 72 6c 00 <0f> 0b e9 d2 f6 ff ff e8 2d 72 6c 00 4c 89 23 e9 c5 f6 ff ff 48 8b RSP: 0018:ffffc900030ff7f0 EFLAGS: 00010212 RAX: 0000000000002553 RBX: 0000000000000001 RCX: ffffc9000551c000 RDX: 0000000000040000 RSI: ffffffff8116f3c7 RDI: 0000000000000004 RBP: 0000000000000400 R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000070800 R11: 0000000000094001 R12: ffff888029675000 R13: ffff8880295bd240 R14: dffffc0000000000 R15: 0000000000070800 FS: 00007f5751eda700(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2df29000 CR3: 000000004a200000 CR4: 0000000000352ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_apic_set_state+0x468/0xeb0 arch/x86/kvm/lapic.c:2951 kvm_vcpu_ioctl_set_lapic arch/x86/kvm/x86.c:4921 [inline] kvm_arch_vcpu_ioctl+0x24db/0x4000 arch/x86/kvm/x86.c:5659 kvm_vcpu_ioctl+0x977/0xea0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4258 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f575108c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f5751eda168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f57511abf80 RCX: 00007f575108c169 RDX: 0000000020000880 RSI: 000000004400ae8f RDI: 0000000000000006 RBP: 00007f57510e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb7480d5f R14: 00007f5751eda300 R15: 0000000000022000