[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175706523473.1669883.17269564627952159753.b4-ty@linux.dev>
Date: Fri, 5 Sep 2025 02:41:10 -0700
From: Oliver Upton <oliver.upton@...ux.dev>
To: kvmarm@...ts.linux.dev,
Geonha Lee <w1nsom3gna@...ea.ac.kr>
Cc: Oliver Upton <oliver.upton@...ux.dev>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Marc Zyngier <maz@...nel.org>,
Joey Gouly <joey.gouly@....com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Zenghui Yu <yuzenghui@...wei.com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>
Subject: Re: [PATCH] KVM: arm64: nested: fix VNCR TLB ASID match logic for non-Global entries
On Thu, 04 Sep 2025 00:04:21 +0900, Geonha Lee wrote:
> kvm_vncr_tlb_lookup() is supposed to return true when the cached VNCR
> TLB entry is valid for the current context. For non-Global entries, that
> means the entry’s ASID must match the current ASID.
>
> The current code returns true when the ASIDs do *not* match, which
> inverts the logic. This is a potential vulnerability:
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: nested: fix VNCR TLB ASID match logic for non-Global entries
https://git.kernel.org/kvmarm/kvmarm/c/06f66db9bda4
--
Best,
Oliver
Powered by blists - more mailing lists