[GIT PULL] arm64 fix for 7.0

From: Will Deacon

Date: Fri Apr 03 2026 - 05:46:49 EST


Hi Linus,

Please pull this lone arm64 fix for v7.0.

Although it's slightly involved, it's been in the works for a while and
resolves a user-triggerable kCFI failure via perf.

Cheers,

Will

--->8

The following changes since commit 8c6e9b60f5c7985a9fe41320556a92d7a33451df:

arm64: realm: Fix PTE_NS_SHARED for 52bit PA support (2026-03-19 12:46:05 +0000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes

for you to fetch changes up to 54ac9ff8f1196afc49d644a1625e0af1c9fcf7f5:

arm64: Use static call trampolines when kCFI is enabled (2026-04-01 15:29:59 +0100)

----------------------------------------------------------------
arm64 fix for v7.0

- Implement a basic static call trampoline to fix CFI failures with the
generic implementation.

----------------------------------------------------------------
Ard Biesheuvel (1):
arm64: Use static call trampolines when kCFI is enabled

arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/static_call.h | 31 +++++++++++++++++++++++++++++++
arch/arm64/kernel/Makefile | 1 +
arch/arm64/kernel/static_call.c | 23 +++++++++++++++++++++++
arch/arm64/kernel/vmlinux.lds.S | 1 +
5 files changed, 57 insertions(+)
create mode 100644 arch/arm64/include/asm/static_call.h
create mode 100644 arch/arm64/kernel/static_call.c