===================================================== BUG: KMSAN: uninit-value in kvm_apic_set_irq arch/x86/kvm/lapic.c:634 [inline] BUG: KMSAN: uninit-value in kvm_irq_delivery_to_apic_fast+0x7a7/0x990 arch/x86/kvm/lapic.c:1044 kvm_apic_set_irq arch/x86/kvm/lapic.c:634 [inline] kvm_irq_delivery_to_apic_fast+0x7a7/0x990 arch/x86/kvm/lapic.c:1044 kvm_irq_delivery_to_apic+0xdb/0xe40 arch/x86/kvm/irq_comm.c:54 kvm_pv_kick_cpu_op+0xd1/0x100 arch/x86/kvm/x86.c:9155 kvm_emulate_hypercall+0xee7/0x1340 arch/x86/kvm/x86.c:9285 __vmx_handle_exit+0x101f/0x1710 arch/x86/kvm/vmx/vmx.c:6237 vmx_handle_exit+0x38/0x1f0 arch/x86/kvm/vmx/vmx.c:6254 vcpu_enter_guest+0x4733/0x52d0 arch/x86/kvm/x86.c:10366 vcpu_run+0x794/0x1230 arch/x86/kvm/x86.c:10455 kvm_arch_vcpu_ioctl_run+0x11fe/0x1b30 arch/x86/kvm/x86.c:10659 kvm_vcpu_ioctl+0xcd4/0x1980 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3948 kvm_vcpu_compat_ioctl+0x2b0/0x4e0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4148 __do_compat_sys_ioctl fs/ioctl.c:968 [inline] __se_compat_sys_ioctl+0x781/0xfa0 fs/ioctl.c:910 __ia32_compat_sys_ioctl+0x8f/0xd0 fs/ioctl.c:910 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x95/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x53/0x62 Local variable lapic_irq created at: kvm_pv_kick_cpu_op+0x46/0x100 arch/x86/kvm/x86.c:9146 kvm_emulate_hypercall+0xee7/0x1340 arch/x86/kvm/x86.c:9285 CPU: 0 PID: 4319 Comm: syz-executor.5 Not tainted 5.19.0-rc4-syzkaller-31333-g97117d69c353 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 =====================================================