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

From: Sasha Levin

Date: Sat Nov 14 2026 - 12:43:06 EST


On 2026-11-13, Salvatore Bonaccorso <carnil@xxxxxxxxxx> 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.

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.

--
Thanks,
Sasha