On Tue, 19 Jul 2022 16:49:09 -0700, Peter Collingbourne wrote:
On a system that implements FEAT_EPAN, read/write access to the idmap is denied because UXN is not set on the swapper PTEs. As a result, idmap_kpti_install_ng_mappings panics the kernel when accessing __idmap_kpti_flag. Fix it by setting UXN on these PTEs.
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: set UXN on swapper page tables https://git.kernel.org/arm64/c/f7b4c3b82e7d