From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Arcangeli Subject: Re: 2.6.38.1 general protection fault Date: Mon, 28 Mar 2011 19:54:37 +0200 Message-ID: <20110328175437.GB12265@random.random> References: <4D8C6110.6090204@wpkg.org> <4D8DAE94.7070604@redhat.com> <4D8DC307.7090400@wpkg.org> <4D8F068B.5030209@redhat.com> <4D902997.80004@wpkg.org> <4D9052B7.2070508@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tomasz Chmielewski , "kvm@vger.kernel.org" , Marcelo Tosatti To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:1560 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754143Ab1C1Ryi (ORCPT ); Mon, 28 Mar 2011 13:54:38 -0400 Content-Disposition: inline In-Reply-To: <4D9052B7.2070508@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hello everyone, On Mon, Mar 28, 2011 at 11:19:51AM +0200, Avi Kivity wrote: > On 03/28/2011 08:24 AM, Tomasz Chmielewski wrote: > > On 27.03.2011 11:42, Avi Kivity wrote: > > > > (...) > > > >> Okay, the fork came from the ,script=. > >> > >> The issue with %rsi looks like a use-after-free, however > >> kvm_mmu_notifier_invalidate_range_start appears to be properly srcu > >> protected. > > > > FYI, I saw this one as well: > > > > http://www.virtall.com/files/temp/kvm.txt > > Similar pattern - top 16 bits of %rsi are flipped. > > Marcelo, what was the option to enable padding for allocations and > overrun detection? Also use-after-free? BTW, is it genuine that a protection fault is generated instead of a page fault while dereferencing address 0x00008805d6b087f8? I would normally except a page fault from a memory dereference that doesn't alter processor state/segments. The other GFP happened in pmdp_clear_flush_notify inside collapse_huge_page.