mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: maz@kernel.org, oupton@kernel.org, kvmarm@lists.linux.dev
Subject: [PATCH 0/4] Fixes for various kvm-arm vulnerabilities
Date: Fri,  4 Dec 2026 18:57:36 +0100	[thread overview]
Message-ID: <20261204175740.2153746-1-pbonzini@redhat.com> (raw)

- 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


             reply	other threads:[~2026-12-04 17:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 17:57 Paolo Bonzini [this message]
2026-12-04 17:57 ` [PATCH 1/4] KVM: arm64: vgic-its: Bound PINTID during ITE table restore Paolo Bonzini
2026-12-05 22:44   ` Thomas Gleixner
2026-12-04 17:57 ` [PATCH 2/4] irqchip/gic-v4: Contain VMAPTI vINTID to the expected boundaries Paolo Bonzini
2026-12-04 17:57 ` [PATCH 3/4] KVM: arm64: vgic-its: Add signal checks in scan_its_table() Paolo Bonzini
2026-12-04 17:57 ` [PATCH 4/4] KVM: arm64: vgic: Linearise AP list pruning process Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261204175740.2153746-1-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=oupton@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®