Re: [PATCH] KVM: arm64: Use S1E1A when Stage-1 PIE is supported
From: Marc Zyngier
Date: Tue Nov 03 2026 - 13:14:05 EST
On Tue, 03 Nov 2026 13:35:39 +0000, Will Deacon wrote:
> On a system with stage-1 PIE, a guest can try to execute from an
> execute-only mapping at stage-1 but trigger a permission fault at
> stage-2 if the stage-2 mapping is execute-never.
>
> In this case, the EL2 permission fault handler will attempt to translate
> the faulting VA using an AT S1E1R operation, which will fail due to the
> lack of read permission at stage-1. We will then return to the guest and
> take the exact same fault the next time around.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Use S1E1A when Stage-1 PIE is supported
commit: 9d447709895d3977e207dd1bc01a30f5c0f76156
Cheers,
M.
--
Without deviation from the norm, progress is not possible.