mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Rapoport <rppt@kernel.org>
To: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
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,
	Salvatore Bonaccorso <carnil@debian.org>
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: Mon, 16 Nov 2026 12:56:06 +0200	[thread overview]
Message-ID: <avrhRp9Je2ip6bKM@kernel.org> (raw)
In-Reply-To: <e258c325-4b4c-4738-8de7-733da90b532b@oracle.com>

Hi,

On Mon, Nov 16, 2026 at 03:01:26PM +0530, Harshit Mogalapalli wrote:
> Hi Sasha,
> 
> On 14/11/26 11:12 pm, Sasha Levin wrote:
> > On 2026-11-13, Salvatore Bonaccorso <carnil@debian.org> wrote:
> > > One followup to this. Reverting
> > > 
> > > Fixes: 091c44b2d3c3 ("x86/mm/pat: Use pr_warn() for early W^X warnings")
> > > Fixes: 11d1ba991c07 ("x86/mm/pat: Fix effective RW computation in lookup_address_in_pgd_attr()")
> > 
> > Thanks for testing. Queued reverts of both for 6.12.
> > 
> 
> Thanks!
> 
> Quick Note: We are just reverting the fixes just removed the fixes to the
> checker and the actual broken commit is: commit: 88a817e60dbb ("x86/its: Use
> dynamic thunks for indirect branches") that introduced this problem.

It didn't introduce a real problem, the permission are correct in the end.
It's just the intermediate state that causes warnings.
 
> thanks,
> Harshit
> 
> > The same two patches are also dropped from the 6.6 and 6.1 queues, where they
> > had not been released yet. 7.3 and 6.18 keep them, since there the check only
> > prints a pr_warn.
> > 
> 

-- 
Sincerely yours,
Mike.

  reply	other threads:[~2026-11-16 10:56 UTC|newest]

Thread overview: 10+ 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 23:16     ` Barry K. Nathan
2026-11-16  0:55       ` Sasha Levin
2026-11-16  9:31     ` Harshit Mogalapalli
2026-11-16 10:56       ` Mike Rapoport [this message]
2026-11-16 11:00         ` Harshit Mogalapalli
2026-11-15  6:21   ` Mike Rapoport
2026-11-15 14:47     ` Sasha Levin

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=avrhRp9Je2ip6bKM@kernel.org \
    --to=rppt@kernel.org \
    --cc=bp@alien8.de \
    --cc=carnil@debian.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=harshit.m.mogalapalli@oracle.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=sashal@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®