[PATCH 0/4] Fixes for various kvm-arm vulnerabilities

From: Paolo Bonzini

Date: Fri Dec 04 2026 - 12:57:58 EST


- Bound PINTID during ITE table restore, avoiding the possibility that the
guest plants an out-of-range LPI INTID in its own in-memory ITS tables
prior to restore.

- Do not blindly trust the vINTID field coming from KVM, and reject
anything that is out of the boundaries that the hardware ITS is
configured to support.

- Add signal_pending checks to the scan_its_table() loop; device table
entries with num_eventid_bits = 16 (or 65536 EventIDs per device) are
valid but takes a long time to restore.

- Remove quadratic complexity from the algorithm used to prune IRQs sitting
in the AP list has a quadratic complexity, and simplify the locking while
at that.

Thanks,

Paolo

Marc Zyngier (2):
irqchip/gic-v4: Contain VMAPTI vINTID to the expected boundaries
KVM: arm64: vgic: Linearise AP list pruning process

Raghavendra Rao Ananta (2):
KVM: arm64: vgic-its: Bound PINTID during ITE table restore
KVM: arm64: vgic-its: Add signal checks in scan_its_table()

arch/arm64/kvm/vgic/vgic-its.c | 6 +-
arch/arm64/kvm/vgic/vgic.c | 175 +++++++++++++++----------------
drivers/irqchip/irq-gic-v3-its.c | 3 +-
3 files changed, 94 insertions(+), 90 deletions(-)

--
2.56.1