Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753739Ab3J3Kxn (ORCPT ); Wed, 30 Oct 2013 06:53:43 -0400 Received: from mail9.hitachi.co.jp ([133.145.228.44]:44526 "EHLO mail9.hitachi.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751627Ab3J3Kxm (ORCPT ); Wed, 30 Oct 2013 06:53:42 -0400 X-AuditID: 85900ec0-d1328b9000001514-8a-5270e5338a47 Subject: [PATCH -tip 0/2] kprobes: fix bugs by updating blacklist To: Ingo Molnar From: Masami Hiramatsu Cc: x86@kernel.org, Ananth N Mavinakayanahalli , "Steven Rostedt (Red Hat)" , lkml Date: Wed, 30 Oct 2013 10:53:34 +0000 Message-ID: <20131030105334.7997.750.stgit@kbuild-fedora.novalocal> User-Agent: StGit/0.16 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1078 Lines: 32 Recently I've found that putting probes on some functions could lock or reboot the kernel. These two patches fix those bugs by prohibiting probing such functions by adding those to blacklist(kprobes.text). In both cases, those functions are related to int3 handling execution path. One is related to irqoff-tracer and the other is related to notifier debug option. Thank you, --- Masami Hiramatsu (2): [BUGFIX] kprobes/x86: Prohibit probing on debug_stack_* [BUGFIX] kprobes: Prohibit probing on func_ptr_is_kernel_text arch/x86/kernel/cpu/common.c | 7 ++++--- kernel/extable.c | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) -- Masami HIRAMATSU IT Management Research Dept. Linux Technology Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu.pt@hitachi.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/