Messages in this thread | | | Date | Sat, 9 Nov 2013 17:18:57 +0100 | From | Oleg Nesterov <> | Subject | [GIT PULL] uprobes: uprobe_copy_process() and copy_insn() fixes |
| |
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(-)
| |