Skip to content

uprobes: x86: Reject probing MOV SS

Masami Hiramatsu lkml 1 version In review

Get series with b4
b4 am 152587066475.17316.3035446966107675608.stgit@devbox

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kprobes: x86: Prohibit probing on exception masking instructionsarch/x86/include/asm/insn.h arch/x86/kernel/kprobes/core.c+22 -00 replies
2/2uprobes: x86: Prohibit probing on MOV SS instructionarch/x86/kernel/uprobes.c+4 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchOleg Nesterov
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] uprobes: x86: Reject probing MOV SS

Hi,

I found the CVE-2018-1087 and CVE-2018-8897 should be related to kprobes and uprobes too, since both are using #DB for single stepping.

I decided to just reject probes on MOV SS and POP SS because those are not recommended to use (Intel SDM recommend to use LSS instead), thus it might be rare case.

Oleg, could you review the uprobes patch?

Thank you,

---

Masami Hiramatsu (2):
kprobes: x86: Prohibit probing on exception masking instructions
uprobes: x86: Prohibit probing on MOV SS instruction

 arch/x86/include/asm/insn.h    |   18 ++++++++++++++++++
 arch/x86/kernel/kprobes/core.c |    4 ++++
 arch/x86/kernel/uprobes.c      |    4 ++++
 3 files changed, 26 insertions(+)

--
Masami Hiramatsu (Linaro) <[email protected]>