[PATCH] KVM: arm64: Correctly cap TLBI Range to the architural limit

Oliver Upton oupton at kernel.org
Wed Aug 12 23:49:45 PDT 2026


On Mon, 10 Aug 2026 18:06:16 +0100, Marc Zyngier wrote:
> TLB Invalidation by Range has a fairly powerful way of encoding pretty
> large ranges in a small number of bits. This range can be based on an
> arbitrary VA, which means it is pretty easy for a guest to generate an
> overflow should the hypervisor be naive enough to add the range to the
> base...
> 
> Make sure the range is capped to the limit dictated by the address bit
> that determines the VA range. For an IPA invalidation, this is further
> corrected down the line to ignore the upper range.
> 
> [...]

Applied to next, thanks!

[1/1] KVM: arm64: Correctly cap TLBI Range to the architural limit
      https://git.kernel.org/kvmarm/kvmarm/c/69a598288195

--
Best,
Oliver



More information about the linux-arm-kernel mailing list