Re: [PATCH] arm64: mm: Fix CFI failure due to kpti_ng_pgd_alloc function signature

Kees Cook kees at kernel.org
Fri Aug 29 09:41:07 PDT 2025



On August 29, 2025 12:06:17 PM EDT, Mark Rutland <mark.rutland at arm.com> wrote:
>On Fri, Aug 29, 2025 at 08:49:21AM -0700, Kees Cook wrote:
>> Fixes: 47546a1912fc ("arm64: mm: install KPTI nG mappings with MMU enabled")
>
>That doesn't look right; that commit is from June 2022, and we only
>introduced enum pgtable_type in May 2025 in commit:
>
>  c64f46ee13779616 ("arm64: mm: use enum to identify pgtable level instead of *_SHIFT")
>
>... which landed in v6.16.
>
>AFAICT, that's the commit which broke things.

Oops, yes, I didn't look close enough. Want a v2 with that fixed up?


-- 
Kees Cook



More information about the linux-arm-kernel mailing list