mirror-linux/arch/parisc/kernel
John David Anglin 8f66fce0f4 parisc: Correct completer in lws start
The completer in the "or,ev %r1,%r30,%r30" instruction is reversed, so we are
not clipping the LWS number when we are called from a 32-bit process (W=0).
We need to nulify the following depdi instruction when the least-significant
bit of %r30 is 1.

If the %r20 register is not clipped, a user process could perform a LWS call
that would branch to an undefined location in the kernel and potentially crash
the machine.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Cc: stable@vger.kernel.org # 4.19+
Signed-off-by: Helge Deller <deller@gmx.de>
2021-12-21 21:07:39 +01:00
..
syscalls parisc: Wire up futex_waitv 2021-11-18 09:02:00 +01:00
.gitignore
Makefile
alternative.c
asm-offsets.c parisc: move CPU field back into thread_info 2021-11-04 11:21:47 +01:00
audit.c
cache.c parisc: Flush kernel data mapping in set_pte_at() when installing pte for user page 2021-11-13 22:10:56 +01:00
compat_audit.c
drivers.c
entry.S parisc: Convert PTE lookup to use extru_safe() macro 2021-11-22 07:37:31 +01:00
firmware.c
ftrace.c Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
hardware.c
head.S
hpmc.S
inventory.c
irq.c
jump_label.c
kexec.c
kexec_file.c
kgdb.c
kprobes.c
module.c
pa7300lc.c
pacache.S
parisc_ksyms.c
patch.c
pci-dma.c
pci.c
pdc_chassis.c
pdc_cons.c
pdt.c
perf.c
perf_asm.S
perf_images.h
process.c
processor.c
ptrace.c
real2.S
relocate_kernel.S
setup.c
signal.c Revert "parisc: Reduce sigreturn trampoline to 3 instructions" 2021-11-18 09:02:32 +01:00
signal32.c
signal32.h Revert "parisc: Reduce sigreturn trampoline to 3 instructions" 2021-11-18 09:02:32 +01:00
smp.c parisc: move CPU field back into thread_info 2021-11-04 11:21:47 +01:00
stacktrace.c parisc: Fix implicit declaration of function '__kernel_text_address' 2021-11-13 22:10:56 +01:00
sys_parisc.c
sys_parisc32.c
syscall.S parisc: Correct completer in lws start 2021-12-21 21:07:39 +01:00
time.c parisc: Mark cr16 CPU clocksource unstable on all SMP machines 2021-12-04 21:36:04 +01:00
toc.c
toc_asm.S
topology.c
traps.c parisc: Clear stale IIR value on instruction access rights trap 2021-12-20 14:38:40 +01:00
unaligned.c
unwind.c
vmlinux.lds.S Revert "parisc: Fix backtrace to always include init funtion names" 2021-11-22 07:37:31 +01:00