On Thu, 23 Jul 2020 11:17:14 +0100, Will Deacon wrote:
If a stage-2 page-table contains an executable, read-only mapping at the pte level (e.g. due to dirty logging being enabled), a subsequent write fault to the same page which tries to install a larger block mapping (e.g. due to dirty logging having been disabled) will erroneously inherit the exec permission and consequently skip I-cache invalidation for the rest of the block.
[...]
Applied to kvm-arm64/fixes-5.8-3, thanks!
[1/1] KVM: arm64: Don't inherit exec permission across page-table levels commit: b757b47a2fcba584d4a32fd7ee68faca510ab96f
Cheers,
M.