All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Peter Collingbourne <pcc@google.com>, Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
	Marc Zyngier <maz@kernel.org>,
	stable@vger.kernel.org
Subject: Re: [PATCH] arm64: set UXN on swapper page tables
Date: Wed, 20 Jul 2022 20:04:48 +0100	[thread overview]
Message-ID: <165834388144.420659.7440428405850430601.b4-ty@arm.com> (raw)
In-Reply-To: <20220719234909.1398992-1-pcc@google.com>

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

-- 
Catalin


WARNING: multiple messages have this Message-ID (diff)
From: Catalin Marinas <catalin.marinas@arm.com>
To: Peter Collingbourne <pcc@google.com>, Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
	Marc Zyngier <maz@kernel.org>,
	stable@vger.kernel.org
Subject: Re: [PATCH] arm64: set UXN on swapper page tables
Date: Wed, 20 Jul 2022 20:04:48 +0100	[thread overview]
Message-ID: <165834388144.420659.7440428405850430601.b4-ty@arm.com> (raw)
In-Reply-To: <20220719234909.1398992-1-pcc@google.com>

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

-- 
Catalin


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-07-20 19:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19 23:49 [PATCH] arm64: set UXN on swapper page tables Peter Collingbourne
2022-07-19 23:49 ` Peter Collingbourne
2022-07-20  9:56 ` Will Deacon
2022-07-20  9:56   ` Will Deacon
2022-07-20 19:04 ` Catalin Marinas [this message]
2022-07-20 19:04   ` Catalin Marinas
2022-07-21 16:19   ` Catalin Marinas
2022-07-21 16:19     ` Catalin Marinas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=165834388144.420659.7440428405850430601.b4-ty@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=maz@kernel.org \
    --cc=pcc@google.com \
    --cc=stable@vger.kernel.org \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.