lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120306091025.GC27238@elte.hu>
Date:	Tue, 6 Mar 2012 10:10:25 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Cc:	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>,
	Ananth N Mavinakayanahalli <ananth@...ibm.com>,
	yrl.pp-manager.tt@...achi.com, systemtap@...rceware.org,
	anderson@...hat.com
Subject: Re: [PATCH v4 -tip 0/3] x86/kprobes: bugfixes and split optprobes


* Masami Hiramatsu <masami.hiramatsu.pt@...achi.com> wrote:

> Hi,
> 
> Here are the patches for fixing bugs in kprobes on x86.
> 
> - Both bugs are related to the optprobe.
> - First bugfix is optprobe to recover instructions when
>   thoes are modified with jump.
> - Second bugfix is kprobes to recover it too.
> 
> This series also includes a patch which split optprobes
> parts out from kprobes x86 implementation.
> 
> Ingo, I've added the splitting patch according your
> advice :)
> 
> Thank you,
> 
> ---
> 
> Masami Hiramatsu (3):
>       x86/kprobes: Split out optprobe related code to kprobes-opt.c
>       [BUGFIX] x86/kprobes: Fix a bug which can modify kernel code
>       [BUGFIX] x86/kprobes: Fix to recover instructions on optimized path
> 
> 
>  arch/x86/kernel/Makefile         |    1 
>  arch/x86/kernel/kprobes-common.h |  106 ++++++
>  arch/x86/kernel/kprobes-opt.c    |  516 +++++++++++++++++++++++++++++++
>  arch/x86/kernel/kprobes.c        |  633 ++++----------------------------------
>  4 files changed, 684 insertions(+), 572 deletions(-)
>  create mode 100644 arch/x86/kernel/kprobes-common.h
>  create mode 100644 arch/x86/kernel/kprobes-opt.c

Thanks, this looks very nice. I've applied them to tip:perf/core 
and will push them out later today, assuming there are no test 
failures.

Thanks,

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ