Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751251Ab1C2ETE (ORCPT ); Tue, 29 Mar 2011 00:19:04 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:48160 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750742Ab1C2ETC convert rfc822-to-8bit (ORCPT ); Tue, 29 Mar 2011 00:19:02 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=eRrfGavkQ7pwbthQC6UvopIAuzdmDYNh1ZWBofqGpV9klR2K1W+u9gkjH7IpNCpAWd F+ILI+5+Akxlbgtd8nCOllP9rmCSx52YiUoVBmH1B2f9Nz89I6YMVpN/KgXZUqI5YJgs P65FnKULSxjrZMdvztasOY359XRNrO5MvGKUw= MIME-Version: 1.0 In-Reply-To: <20110329040939.GA32764@redhat.com> References: <20110329040939.GA32764@redhat.com> Date: Tue, 29 Mar 2011 12:19:01 +0800 Message-ID: Subject: Re: vma corruption in today's -git From: =?UTF-8?Q?Am=C3=A9rico_Wang?= To: Dave Jones , Linus Torvalds , Andrew Morton , Linux Kernel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1818 Lines: 41 On Tue, Mar 29, 2011 at 12:09 PM, Dave Jones wrote: > Running a kernel that I built from a git pull from this afternoon, > I ran a barrage of stress tests, including some of the new syscall fuzzing > work that I've been working on.  Everything seemed just fine, except that > after I had stopped running everything, loadavg was still at 6, with > top showing kworker processes running at high % of cpu. > > I ran perf top, and got this .. > >  BUG: unable to handle kernel paging request at fffffffffffffff3 >  IP: [] vma_stop.clone.3+0x18/0x33 Should be fixed by: commit 76597cd31470fa130784c78fadb4dab2e624a723 Author: Linus Torvalds Date: Sun Mar 27 19:09:29 2011 -0700 proc: fix oops on invalid /proc//maps access When m_start returns an error, the seq_file logic will still call m_stop with that error entry, so we'd better make sure that we check it before using it as a vma. Introduced by commit ec6fd8a4355c ("report errors in /proc/*/*map* sanely"), which replaced NULL with various ERR_PTR() cases. (On ia64, you happen to get a unaligned fault instead of a page fault, since the address used is generally some random error code like -EPERM) Reported-by: Anca Emanuel Reported-by: Tony Luck Cc: Al Viro Cc: Américo Wang Cc: Stephen Wilson Signed-off-by: Linus Torvalds -- 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/