[GIT PULL] uprobes: uprobe_copy_process() and copy_insn() fixes

From: Oleg Nesterov
Date: Sat Nov 09 2013 - 11:17:39 EST


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(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/