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]
Date:	Wed, 24 Jul 2013 07:33:12 -0700
From:	"H. Peter Anvin" <hpa@...ux.intel.com>
To:	mingo@...nel.org, hpa@...or.com, linux-kernel@...r.kernel.org,
	jkosina@...e.cz, masami.hiramatsu.pt@...achi.com,
	rostedt@...dmis.org, tglx@...utronix.de, hpa@...ux.intel.com,
	fengguang.wu@...el.com
CC:	tip-bot for Jiri Kosina <tipbot@...or.com>,
	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:perf/core] kprobes/x86: Call out into INT3 handler directly
 instead of using notifier

On 07/23/2013 08:55 PM, tip-bot for Jiri Kosina wrote:
> Commit-ID:  17f41571bb2c4a398785452ac2718a6c5d77180e
> Gitweb:     http://git.kernel.org/tip/17f41571bb2c4a398785452ac2718a6c5d77180e
> Author:     Jiri Kosina <jkosina@...e.cz>
> AuthorDate: Tue, 23 Jul 2013 10:09:28 +0200
> Committer:  Ingo Molnar <mingo@...nel.org>
> CommitDate: Tue, 23 Jul 2013 10:12:57 +0200
> 
> kprobes/x86: Call out into INT3 handler directly instead of using notifier
> 
> In fd4363fff3d96 ("x86: Introduce int3 (breakpoint)-based
> instruction patching"), the mechanism that was introduced for
> notifying alternatives code from int3 exception handler that and
> exception occured was die_notifier.
> 
> This is however problematic, as early code might be using jump
> labels even before the notifier registration has been performed,
> which will then lead to an oops due to unhandled exception. One
> of such occurences has been encountered by Fengguang:
> 

Please note that putting this patch in perf/core means x86/jumplabel is
completely nonfunctional by itself.

	-hpa


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