mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: Mike Rapoport <rppt@kernel.org>,
	Salvatore Bonaccorso <carnil@debian.org>
Cc: Sasha Levin <sashal@kernel.org>,
	Nathan Chancellor <nathan@kernel.org>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Andy Lutomirski <luto@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
	Borislav Petkov <bp@alien8.de>,
	x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org,
	regressions@lists.linux.dev
Subject: Re: [REGRESSION 6.12.117] CPA detected W^X violation: 0000000000000121 -> 0000000000000123 range: 0xffffffffc0477000 - 0xffffffffc0477fff PFN 109c1f and WARNING at arch/x86/mm/pat/set_memory.c:665 __change_page_attr_set_clr+0xf62/0xfb0
Date: Sun, 15 Nov 2026 09:47:37 -0500	[thread overview]
Message-ID: <20261115144738.1273873-1-sashal@kernel.org> (raw)
In-Reply-To: <avlPaC_oxGeFBeAa@kernel.org>

On Sun, Nov 15, 2026 at 08:21:28AM +0200, Mike Rapoport wrote:
> Apparently, this commit exposes issues in the management of permissions in
> ITS mitigation that was fixed here:
>
> https://lore.kernel.org/all/20250603111446.2609381-1-rppt@kernel.org/

Thanks. That series (a82b26451de1 "x86/its: explicitly manage permissions for
ITS pages" and the rest of it) is already in 7.3 and 6.18, which is why both
keep the two pat patches.

Sadly 6.12, 6.6 and 6.1 have none of it, and their ITS backport is
stable-specific :(

> > On the other hand though testing 7.3.5-rc1 which is currently under
> > review only logs:
> >
> > [    0.096682] CPA detected W^X violation: 8000000000000123 -> 0000000000000123 range: 0xffffffffc0200000 - 0xffffffffc0200fff PFN 100800

That early-boot message on 7.3 is the one ea6fd393cb9e ("x86/mm/pat: Use
pr_warn() for early W^X warnings") describes as expected from its_alloc()
during early retpoline setup, so it is a pr_warn and not a WARNING.

-- 
Thanks,
Sasha

      reply	other threads:[~2026-11-15 14:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-13 12:47 Salvatore Bonaccorso
2026-11-13 18:50 ` Salvatore Bonaccorso
2026-11-14 17:42   ` Sasha Levin
2026-11-15  6:21   ` Mike Rapoport
2026-11-15 14:47     ` Sasha Levin [this message]

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=20261115144738.1273873-1-sashal@kernel.org \
    --to=sashal@kernel.org \
    --cc=bp@alien8.de \
    --cc=carnil@debian.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=mingo@redhat.com \
    --cc=nathan@kernel.org \
    --cc=peterz@infradead.org \
    --cc=regressions@lists.linux.dev \
    --cc=rppt@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=tglx@kernel.org \
    --cc=x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®