android_kernel_motorola_sm6375/arch/powerpc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Naveen N Rao 0580f4403a powerpc/lib: Validate size for vector operations
[ Upstream commit 8f9abaa6d7de0a70fc68acaedce290c1f96e2e59 ]

Some of the fp/vmx code in sstep.c assume a certain maximum size for the
instructions being emulated. The size of those operations however is
determined separately in analyse_instr().

Add a check to validate the assumption on the maximum size of the
operations, so as to prevent any unintended kernel stack corruption.

Signed-off-by: Naveen N Rao <naveen@kernel.org>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Build-tested-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231123071705.397625-1-naveen@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-23 08:24:54 +01:00
..
boot powerpc: dts: t208x: Disable 10G on MAC1 and MAC2 2023-02-25 11:53:26 +01:00
configs Remove DECnet support from kernel 2023-06-21 15:44:10 +02:00
crypto
include powerpc/mm: Fix build failures due to arch_reserved_kernel_pages() 2024-02-23 08:24:53 +01:00
kernel powerpc: Fix build error due to is_valid_bugaddr() 2024-02-23 08:24:53 +01:00
kvm treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
lib powerpc/lib: Validate size for vector operations 2024-02-23 08:24:54 +01:00
math-emu
mm powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE 2024-02-23 08:24:53 +01:00
net
oprofile
perf powerpc/imc-pmu: Add a null pointer check in update_events_in_group() 2024-01-25 14:34:22 -08:00
platforms powerpc/powernv: Add a null pointer check in opal_powercap_init() 2024-01-25 14:34:22 -08:00
purgatory powerpc/purgatory: remove PGO flags 2023-06-21 15:44:10 +02:00
sysdev powerpc/xive: Fix endian conversion size 2023-11-20 10:30:14 +01:00
tools
xmon
Kbuild
Kconfig
Kconfig.debug powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y 2023-07-27 08:37:23 +02:00
Makefile powerpc: Fail build if using recordmcount with binutils v2.37 2023-07-27 08:37:34 +02:00
Makefile.postlink