All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUGFIX PATCH v3 0/4] arm: kprobes: Fix to prohibit probing on unsafe functions
@ 2018-05-04  4:14 ` Masami Hiramatsu
  0 siblings, 0 replies; 25+ messages in thread
From: Masami Hiramatsu @ 2018-05-04  4:14 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

This is the 3rd version of bugfix series for kprobes on arm.
This series fixes 4 different issues which I found.

 - Fix to use smp_processor_id() after disabling preemption.
 - Prohibit probing on optimized_callback() for avoiding
   recursive probe.
 - Prohibit kprobes on do_undefinstr() by same reason.
 - Prohibit kprobes on get_user() by same reason.

>From v2, I included another 2 bugfixes (1/4 and 2/4)
which are not merged yet, and added "Cc: stable at vger.kernel.org",
since there are obvious bugs.

Thanks,

---

Masami Hiramatsu (4):
      arm: kprobes: Fix to use get_kprobe_ctlblk after irq-disabed
      arm: kprobes: Prohibit probing on optimized_callback
      arm: kprobes: Prohibit kprobes on do_undefinstr
      arm: kprobes: Prohibit kprobes on get_user functions


 arch/arm/include/asm/assembler.h  |   10 ++++++++++
 arch/arm/kernel/traps.c           |    5 ++++-
 arch/arm/lib/getuser.S            |   10 ++++++++++
 arch/arm/probes/kprobes/opt-arm.c |    4 +++-
 4 files changed, 27 insertions(+), 2 deletions(-)

--
Masami Hiramatsu (Linaro) <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2018-05-13  1:55 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-04  4:14 [BUGFIX PATCH v3 0/4] arm: kprobes: Fix to prohibit probing on unsafe functions Masami Hiramatsu
2018-05-04  4:14 ` Masami Hiramatsu
2018-05-04  4:14 ` Masami Hiramatsu
2018-05-04  4:15 ` [BUGFIX PATCH v3 1/4] arm: kprobes: Fix to use get_kprobe_ctlblk after irq-disabed Masami Hiramatsu
2018-05-04  4:15   ` Masami Hiramatsu
2018-05-04  4:15 ` [BUGFIX PATCH v3 2/4] arm: kprobes: Prohibit probing on optimized_callback Masami Hiramatsu
2018-05-04  4:15   ` Masami Hiramatsu
2018-05-04  4:15 ` [BUGFIX PATCH v3 3/4] arm: kprobes: Prohibit kprobes on do_undefinstr Masami Hiramatsu
2018-05-04  4:15   ` Masami Hiramatsu
2018-05-04  4:16 ` [BUGFIX PATCH v3 4/4] arm: kprobes: Prohibit kprobes on get_user functions Masami Hiramatsu
2018-05-04  4:16   ` Masami Hiramatsu
2018-05-08 11:25 ` [BUGFIX PATCH v3 0/4] arm: kprobes: Fix to prohibit probing on unsafe functions Russell King - ARM Linux
2018-05-08 11:25   ` Russell King - ARM Linux
2018-05-12  0:42   ` Masami Hiramatsu
2018-05-12  0:42     ` Masami Hiramatsu
2018-05-12  4:31     ` Greg KH
2018-05-12  4:31       ` Greg KH
2018-05-12  9:06     ` Russell King - ARM Linux
2018-05-12  9:06       ` Russell King - ARM Linux
2018-05-12 11:31   ` Masami Hiramatsu
2018-05-12 11:31     ` Masami Hiramatsu
2018-05-12 17:29     ` Florian Fainelli
2018-05-12 17:29       ` Florian Fainelli
2018-05-13  1:55       ` Masami Hiramatsu
2018-05-13  1:55         ` Masami Hiramatsu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.