Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754220Ab3CRU5u (ORCPT ); Mon, 18 Mar 2013 16:57:50 -0400 Received: from mta-out.inet.fi ([195.156.147.13]:36941 "EHLO kirsi1.inet.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751354Ab3CRU5t (ORCPT ); Mon, 18 Mar 2013 16:57:49 -0400 From: Timo Juhani Lindfors To: Masami Hiramatsu Cc: Linus Torvalds , Ingo Molnar , Linux Kernel Mailing List , Ananth N Mavinakayanahalli , Pavel Emelyanov , Jiri Kosina , Nadia Yvette Chambers , yrl.pp-manager.tt@hitachi.com, "David S. Miller" Subject: Re: [PATCH -tip ] [BUGFIX] kprobes: Move hash_64() into .text.kprobe section References: <20130311142233.19885.10567.stgit@mhiramat-M0-7522> <514023AA.4070004@hitachi.com> <847glb8m4i.fsf@sauna.l.org> <51408349.8080800@hitachi.com> Date: Mon, 18 Mar 2013 22:57:35 +0200 In-Reply-To: <51408349.8080800@hitachi.com> (Masami Hiramatsu's message of "Wed, 13 Mar 2013 22:46:49 +0900") Message-ID: <84li9ke88w.fsf@sauna.l.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 907 Lines: 26 Masami Hiramatsu writes: > Thank you for reporting!! Thanks for fixing these! I spent some time trying to automate the process of finding sensitive functions and eventually resorted into booting a kvm instance with a minimal initrd to test every single function in a clean and reproducible environment. I found 7 more cases where calling register_kprobe() leads to an instant kernel panic: __flush_tlb_single native_flush_tlb native_safe_halt native_set_pgd native_set_pmd native_set_pud native_write_cr0 You can see full kernel console output for each function at http://lindi.iki.fi/lindi/linux/kprobes/panics_2013-03-18/ -- 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/