diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2021-09-06 11:25:38 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-10-04 09:49:36 +0200 |
commit | 4df898dc06da83052c73a2ce9a6a4df5640a0905 (patch) | |
tree | 8bee526c6b219b1570098a105031eed3e5a99eae /arch/s390/kernel/compat_audit.c | |
parent | b860b9346e2d5667fbae2cefc571bdb6ce665b53 (diff) |
s390/kprobes: add sanity check
Check whether the specified address points to the start of an
instruction to prevent users from setting a kprobe in the mid of
an instruction which would crash the kernel.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/compat_audit.c')
0 files changed, 0 insertions, 0 deletions