On Wed, Jul 20, 2022 at 08:04:48PM +0100, Catalin Marinas wrote: > 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 I'm dropping this patch from for-next/fixes as it breaks linux-next (interacts badly with stuff already queued). We'll send it to -stable separately as that's no longer needed in mainline after 5.19. -- Catalin