Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757461AbcJXLQi (ORCPT ); Mon, 24 Oct 2016 07:16:38 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:35229 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755751AbcJXLQh (ORCPT ); Mon, 24 Oct 2016 07:16:37 -0400 Date: Mon, 24 Oct 2016 13:16:35 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: Vince Weaver , linux-kernel@vger.kernel.org, Ingo Molnar , Arnaldo Carvalho de Melo , Andy Lutomirski Subject: Re: perf: perf_fuzzer triggers vmalloc_fault (then crashes) Message-ID: <20161024111635.GH3102@twins.programming.kicks-ass.net> References: <20161024101802.GG3102@twins.programming.kicks-ass.net> <20161024111402.fv2sswwgnx6qm3ic@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161024111402.fv2sswwgnx6qm3ic@treble> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 439 Lines: 11 On Mon, Oct 24, 2016 at 06:14:02AM -0500, Josh Poimboeuf wrote: > > Josh, Andy, any clue on how I should go about fixing this? > > This is a bug in the unwinder. The NMI hit in the entry code right > after setting up the stack pointer from cpu_current_top_of_stack, so the > kernel stack was empty. __unwind_start() tried to dereference the > pointer (0xffffc90008500000) at the top of the stack. I'll make a > patch. Great, thanks!