9c5f225f1a
Placing a kprobe on "bc" instruction (s390/s390x) can cause an oops. The instruction length is encoded into the first two bits of the s390 instruction. Kprobe is incorrectly computing the instruction length. The instruction length is used for determining what type of "fix-up" is needed for conditional branch instruction. The problem can bee seen by placing a kprobe on a "bc" instruction that will not branch. The results is that Kprobe incorrectly computes the new instruction pointer (psw.addr) after single stepping the instruction. The problem is corrected with this patch. Signed-off-by: David Wilder <dwilder@us.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
audit.c | ||
base.S | ||
binfmt_elf32.c | ||
bitmap.S | ||
compat_audit.c | ||
compat_exec_domain.c | ||
compat_linux.c | ||
compat_linux.h | ||
compat_ptrace.h | ||
compat_signal.c | ||
compat_wrapper.S | ||
cpcmd.c | ||
crash.c | ||
debug.c | ||
diag.c | ||
dis.c | ||
early.c | ||
ebcdic.c | ||
entry64.S | ||
entry.S | ||
head31.S | ||
head64.S | ||
head.S | ||
init_task.c | ||
ipl.c | ||
irq.c | ||
kprobes.c | ||
machine_kexec.c | ||
Makefile | ||
module.c | ||
process.c | ||
ptrace.c | ||
reipl64.S | ||
reipl.S | ||
relocate_kernel64.S | ||
relocate_kernel.S | ||
s390_ext.c | ||
s390_ksyms.c | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
smp.c | ||
stacktrace.c | ||
sys_s390.c | ||
syscalls.S | ||
time.c | ||
traps.c | ||
vmlinux.lds.S | ||
vtime.c |