aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/device.c
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2021-09-06 11:25:38 +0200
committerVasily Gorbik <gor@linux.ibm.com>2021-10-04 09:49:36 +0200
commit4df898dc06da83052c73a2ce9a6a4df5640a0905 (patch)
tree8bee526c6b219b1570098a105031eed3e5a99eae /drivers/s390/cio/device.c
parents390/ftrace: remove dead code (diff)
downloadlinux-dev-4df898dc06da83052c73a2ce9a6a4df5640a0905.tar.xz
linux-dev-4df898dc06da83052c73a2ce9a6a4df5640a0905.zip
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 'drivers/s390/cio/device.c')
0 files changed, 0 insertions, 0 deletions