CVE-2026-100041: KVM: arm64: vgic-its: Don't map an LPI from more than one event
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: vgic-its: Don't map an LPI from more than one event
KVM keeps one vgicirq per LPI. A MAPTI of an LPI whose vgicirq already exists reuses it for the new ITE and leaves its target vCPU as it was. Mapping one LPI from two events is UNPREDICTABLE (IHI 0069H.b, 5.2.10), but nothing stops a guest from doing it. If the first MAPTI names a collection the guest never maps and the second a mapped one, the LPI translates through the second event with a NULL target vCPU.
When the VMM routes an assigned device's MSI to that event on a host with GICv4 enabled, kvmvgicv4setforwarding() takes the vPE from the NULL target vCPU and the host oopses:
Unable to handle kernel paging request at virtual address 0000000000001980 [...] Call trace: itsbuildvmapticmd (drivers/irqchip/irq-gic-v3-its.c:943) (P) itsirqsetvcpuaffinity (drivers/irqchip/irq-gic-v3-its.c:1380) irqsetvcpuaffinity (kernel/irq/manage.c:670) itsmapvlpi (drivers/irqchip/irq-gic-v4.c:326) kvmvgicv4setforwarding (arch/arm64/kvm/vgic/vgic-v4.c:485) kvmarchirqbypassaddproducer (arch/arm64/kvm/arm.c:2977) irqbypassregisterconsumer (virt/lib/irqbypass.c:44) kvmirqfd (arch/arm64/kvm/../../../virt/kvm/eventfd.c:496) kvmvmioctl (arch/arm64/kvm/../../../virt/kvm/kvmmain.c:5270)
Track in each vgicirq whether an ITE maps it. Drop a MAPTI of an LPI that is already mapped, as a failed MAPTI already is. Restoring the ITS tables keeps the first ITE it reads for each LPI and drops any later one, so a guest saved with a double mapping still restores. Key the check on the mapping, not on the vgicirq. A vgicirq outlives its ITE while anything holds a reference to it, such as the vCPU it was last queued on. A later MAPTI of such an LPI succeeds as before, and now retargets it to its collection.
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to a host crash?
The issue affects arm64 KVM setups using the virtual GIC ITS path where an assigned device's MSI can be routed to a guest event on a host with GICv4 enabled. The crash condition also requires the guest to create the invalid LPI mapping state described in the advisory.
What does a guest need to do to trigger the issue?
A guest must map the same LPI from two events using MAPTI, with the first mapping naming a collection that is never mapped and the second naming a mapped collection. When the VMM subsequently routes an assigned device MSI to the second event, the LPI can have a NULL target vCPU.
What is the observable impact?
The host can oops when KVM attempts to configure GICv4 forwarding for the assigned device interrupt. The described failure is a kernel paging request caused by retrieving a vPE from a NULL target vCPU.
How can an administrator recognize this failure?
Look for a host kernel oops reporting a paging request at virtual address 0000000000001980, with a call trace including kvm_vgic_v4_set_forwarding, its_map_vlpi, and its_irq_set_vcpu_affinity. This indicates the failure occurred while setting up forwarding for a virtual LPI.