linux-yocto/arch/arm/kernel
Linus Walleij 8fe148d39c ARM: 9430/1: entry: Do a dummy read from VMAP shadow
commit 44e9a3bb76 upstream.

When switching task, in addition to a dummy read from the new
VMAP stack, also do a dummy read from the VMAP stack's
corresponding KASAN shadow memory to sync things up in
the new MM context.

Cc: stable@vger.kernel.org
Fixes: a1c510d0ad ("ARM: implement support for vmap'ed stacks")
Link: https://lore.kernel.org/linux-arm-kernel/a1a1d062-f3a2-4d05-9836-3b098de9db6d@foss.st.com/
Reported-by: Clement LE GOFFIC <clement.legoffic@foss.st.com>
Suggested-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-14 19:54:14 +01:00
..
.gitignore
arch_timer.c
armksyms.c
asm-offsets.c ARM: implement THREAD_INFO_IN_TASK for uniprocessor systems 2021-12-06 12:49:17 +01:00
atags_compat.c
atags_parse.c
atags_proc.c proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
atags.h
bios32.c
bugs.c ARM: cpu: Switch to arch_cpu_finalize_init() 2023-08-08 20:03:46 +02:00
cpuidle.c
crash_dump.c vmcore: convert copy_oldmem_page() to take an iov_iter 2022-04-29 14:37:59 -07:00
debug.S
devtree.c ARM: make ARCH_MULTIPLATFORM user-visible 2022-08-30 11:18:09 +02:00
dma.c
early_printk.c
efi.c efi/arm: libstub: move ARM specific code out of generic routines 2022-09-27 13:26:16 +02:00
elf.c
entry-armv.S ARM: 9430/1: entry: Do a dummy read from VMAP shadow 2024-12-14 19:54:14 +01:00
entry-common.S ARM: ptrace: Restore syscall restart tracing 2023-09-13 09:42:28 +02:00
entry-ftrace.S ARM: ftrace: enable the graph tracer with the EABI unwinder 2022-02-09 09:13:59 +01:00
entry-header.S context_tracking: Split user tracking Kconfig 2022-06-29 17:04:09 -07:00
entry-v7m.S ARM: v7m: enable support for IRQ stacks 2021-12-06 12:49:17 +01:00
fiq.c
fiqasm.S
ftrace.c ftrace: Remove return value of ftrace_arch_modify_*() 2022-05-26 21:13:00 -04:00
head-common.S ARM: implement THREAD_INFO_IN_TASK for uniprocessor systems 2021-12-06 12:49:17 +01:00
head-inflate-data.c
head-nommu.S ARM: 9160/1: NOMMU: Reload __secondary_data after PROCINFO_INITFUNC 2021-12-17 12:02:16 +00:00
head.S ARM: 9420/1: smp: Fix SMP for xip kernels 2024-12-14 19:53:11 +01:00
hibernate.c
hw_breakpoint.c hw_breakpoint: fix single-stepping when using bpf_overflow_handler 2023-09-23 11:11:00 +02:00
hyp-stub.S
insn.c
io.c
irq.c asm-generic: Conditionally enable do_softirq_own_stack() via Kconfig. 2022-09-05 17:20:55 +02:00
isa.c
iwmmxt.h
iwmmxt.S
jump_label.c jump_label: make initial NOP patching the special case 2022-06-24 09:48:55 +02:00
kgdb.c ARM: Fix kgdb breakpoint for Thumb2 2022-02-21 14:56:53 +00:00
machine_kexec.c ARM: 9317/1: kexec: Make smp stop calls asynchronous 2023-09-23 11:11:05 +02:00
Makefile Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
module-plts.c ARM: module: Use module_init_layout_section() to spot init sections 2023-09-02 09:16:19 +02:00
module.c ARM: 9204/2: module: Add all unwind tables when load module 2022-05-20 12:34:55 +01:00
opcodes.c
paravirt.c
patch.c
perf_callchain.c perf: Drop dead and useless guest "support" from arm, csky, nds32 and riscv 2021-11-17 14:49:07 +01:00
perf_event_v6.c
perf_event_v7.c
perf_event_xscale.c
perf_regs.c
phys2virt.S
pj4-cp0.c
process.c Random number generator fixes for Linux 6.1-rc1. 2022-10-16 15:27:07 -07:00
psci_smp.c ARM: 9420/1: smp: Fix SMP for xip kernels 2024-12-14 19:53:11 +01:00
ptrace.c ARM: ptrace: Restore syscall skipping for tracers 2023-09-13 09:42:28 +02:00
reboot.c ARM: 9219/1: fix undeclared soft_restart 2022-07-28 15:09:17 +01:00
reboot.h
relocate_kernel.S
return_address.c ARM: 9234/1: stacktrace: Avoid duplicate saving of exception PC value 2022-10-04 11:09:47 +01:00
setup.c efi/arm: libstub: move ARM specific code out of generic routines 2022-09-27 13:26:16 +02:00
signal.c treewide: use get_random_{u8,u16}() when possible, part 1 2022-10-11 17:42:58 -06:00
signal.h
sigreturn_codes.S
sleep.S ARM: 9381/1: kasan: clear stale stack poison 2024-05-17 11:56:10 +02:00
smccc-call.S
smp_scu.c
smp_tlb.c
smp_twd.c
smp.c profile: setup_profiling_timer() is moslty not implemented 2022-07-29 18:12:36 -07:00
spectre.c ARM: fix build error when BPF_SYSCALL is disabled 2022-03-08 12:53:05 -08:00
stacktrace.c ARM: 9234/1: stacktrace: Avoid duplicate saving of exception PC value 2022-10-04 11:09:47 +01:00
suspend.c
swp_emulate.c uaccess: fix type mismatch warnings from access_ok() 2022-02-25 09:36:05 +01:00
sys_arm.c
sys_oabi-compat.c ARM: 9110/1: oabi-compat: fix oabi epoll sparse warning 2021-08-20 11:39:27 +01:00
tcm.c
thumbee.c
time.c
topology.c
traps.c ARM: 9224/1: Dump the stack traces based on the parameter 'regs' of show_regs() 2022-09-22 08:21:30 +01:00
unwind.c ARM: 9295/1: unwind:fix unwind abort for uleb128 case 2023-06-09 10:34:08 +02:00
v7m.c
vdso.c
vmlinux-xip.lds.S Merge branches 'devel-stable' and 'misc' into for-linus 2021-11-02 09:04:22 +00:00
vmlinux.lds.S ARM: implement support for vmap'ed stacks 2021-12-03 15:11:33 +01:00
xscale-cp0.c