linux/arch/arm64
Eric Biggers 9dc1b1ef45 crypto: arm64/aes - Fix 32-bit aes_mac_update() arg treated as 64-bit
commit f8f08d7cc4 upstream.

Since the 'enc_after' argument to neon_aes_mac_update() and
ce_aes_mac_update() has type 'int', it needs to be accessed using the
corresponding 32-bit register, not the 64-bit register.  The upper half
of the corresponding 64-bit register may contain garbage.

Fixes: 4860620da7 ("crypto: arm64/aes - add NEON/Crypto Extensions CBCMAC/CMAC/XCBC driver")
Cc: stable@vger.kernel.org
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260218213501.136844-4-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-06-01 17:35:17 +02:00
..
boot arm64: dts: imx8mq-librem5: Bump BUCK1 suspend voltage up to 0.85V 2026-06-01 17:35:07 +02:00
configs arm64: defconfig: build imx-sdma as a module 2022-04-08 14:24:00 +02:00
crypto crypto: arm64/aes - Fix 32-bit aes_mac_update() arg treated as 64-bit 2026-06-01 17:35:17 +02:00
hyperv arm64: hyperv: Initialize hypervisor on boot 2021-08-04 16:54:36 +00:00
include arm64: Fix non-atomic __READ_ONCE() with CONFIG_LTO=y 2026-03-04 07:20:33 -05:00
kernel arm64: Add support for TSV110 Spectre-BHB mitigation 2026-03-04 07:19:58 -05:00
kvm KVM: arm64: sys_regs: disable -Wuninitialized-const-pointer warning 2026-01-19 13:10:12 +01:00
lib arm64: insn: Add support for encoding DSB 2025-06-27 11:05:37 +01:00
mm mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd() 2025-08-28 16:24:32 +02:00
net bpf, arm64: Do not audit capability check in do_jit() 2026-01-19 13:09:41 +01:00
tools arm64: errata: Add workaround for Arm errata 3194386 and 3312417 2024-08-19 05:45:40 +02:00
xen xen/arm: call uaccess_ttbr0_enable for dm_op hypercall 2025-06-27 11:05:22 +01:00
Kbuild arm64: Disable branch profiling for all arm64 code 2026-03-04 07:20:26 -05:00
Kconfig arm64: errata: Apply workarounds for Neoverse-V3AE 2025-10-29 14:03:13 +01:00
Kconfig.debug arm64: remove TEXT_OFFSET randomization 2020-06-15 13:10:59 +01:00
Kconfig.platforms irqchip/exiu: Fix acknowledgment of edge triggered interrupts 2022-06-09 10:22:54 +02:00
Makefile arm64: Force position-independent veneers 2024-11-01 01:52:35 +01:00