linux/arch/arm64
Eric Biggers 4841596b93 crypto: arm64/sm3 - fix possible crash with CFI enabled
[ Upstream commit be8f6b6496 ]

sm3_neon_transform() is called via indirect function calls.  Therefore
it needs to use SYM_TYPED_FUNC_START instead of SYM_FUNC_START to cause
its type hash to be emitted when the kernel is built with
CONFIG_CFI_CLANG=y.  Otherwise, the code crashes with a CFI failure (if
the compiler didn't happen to optimize out the indirect call).

Fixes: c50d32859e ("arm64: Add types to indirect called assembly functions")
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:34 +01:00
..
boot arch: arm64: apple: t8103: Use standard "iommu" node name 2022-12-31 13:31:54 +01:00
configs This update includes the following changes: 2022-10-10 13:04:25 -07:00
crypto crypto: arm64/sm3 - fix possible crash with CFI enabled 2022-12-31 13:32:34 +01:00
hyperv hyperv: simplify and rename generate_guest_id 2022-09-28 13:36:56 +00:00
include Final EFI fix for v6.1 2022-12-01 11:25:11 -08:00
kernel Final EFI fix for v6.1 2022-12-01 11:25:11 -08:00
kvm KVM: arm64: Fix SMPRI_EL1/TPIDR2_EL0 trapping on VHE 2022-11-01 15:56:52 +00:00
lib
mm arm64: mm: kfence: only handle translation faults 2022-12-31 13:31:51 +01:00
net bpf: arm64: No support of struct argument in trampoline programs 2022-09-06 19:51:14 -07:00
tools arm64/sysreg: Fix typo in SCTR_EL1.SPINTMASK 2022-10-07 14:30:11 +01:00
xen
Kbuild
Kconfig arm64 fixes: 2022-10-14 12:38:03 -07:00
Kconfig.debug
Kconfig.platforms ARM: SoC code changes for 6.1 2022-10-06 11:22:25 -07:00
Makefile Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00