Fixes for various kvm-arm vulnerabilities
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: arm64: vgic-its: Bound PINTID during ITE table restorearch/ | +2 | 0 replies | |
| 2/4 | irqchip/gic-v4: Contain VMAPTI vINTID to the expected boundariesdrivers/ | +2 | 0 replies | |
| 3/4 | KVM: arm64: vgic-its: Add signal checks in scan_its_table()arch/ | +3 | 0 replies | |
| 4/4 | KVM: arm64: vgic: Linearise AP list pruning processarch/ | +87 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Oliver Upton |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Fixes for various kvm-arm vulnerabilities
- 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(-)
Signature · 1 line
2.56.1