Skip to contentSkip to conversation

uprobes: uprobe_copy_process() and copy_insn() fixes

GIT PULL Oleg Nesterov 2 participants 2 messages Nov 9, 2013 – Nov 11, 2013

lore
Share & tools
lore
#0 lore raw

Ingo, please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core

I do not like to spam you, but I think that at least the 1st patch should be merged now, along with other retprobe && fork fixed.

The 1st one-liner fixes the typo in the recently merged aa59c53fd459 "uprobes: Change uprobe_copy_process() to dup xol_area", a ret-probed child still can crash.

The 2nd patch fixes the easy-to-trigger kernel crash. This bug is very old, but fortunately only root can enable uprobes.

Oleg Nesterov (2):
uprobes: Fix the wrong usage of current->utask in uprobe_copy_process()
uprobes: Fix the memory out of bound overwrite in copy_insn()

 kernel/events/uprobes.c |   49 +++++++++++++++++++++++------------------------
 1 files changed, 24 insertions(+), 25 deletions(-)
#1 lore raw
Quoted 3 lines · Oleg Nesterov

Ingo, please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core

Pulled, thanks a lot Oleg!

Quoted 2 lines

I do not like to spam you, but I think that at least the 1st patch should be merged now, along with other retprobe && fork fixed.

It's not possible for you to spam me with patches! :-)

Thanks,

Ingo