[PATCH v2] arm64: mm: Fix CFI failure due to kpti_ng_pgd_alloc function signature
Catalin Marinas
catalin.marinas at arm.com
Sat Aug 30 03:39:33 PDT 2025
On Fri, 29 Aug 2025 12:07:25 -0700, Kees Cook wrote:
> Seen during KPTI initialization:
>
> CFI failure at create_kpti_ng_temp_pgd+0x124/0xce8 (target: kpti_ng_pgd_alloc+0x0/0x14; expected type: 0xd61b88b6)
>
> The call site is alloc_init_pud() at arch/arm64/mm/mmu.c:
>
> pud_phys = pgtable_alloc(TABLE_PUD);
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: mm: Fix CFI failure due to kpti_ng_pgd_alloc function signature
https://git.kernel.org/arm64/c/ceca927c86e6
I added the acks from v1 directly as there's no change.
--
Catalin
More information about the linux-arm-kernel
mailing list