From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753164AbbC0H2k (ORCPT ); Fri, 27 Mar 2015 03:28:40 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:44704 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751904AbbC0H2i (ORCPT ); Fri, 27 Mar 2015 03:28:38 -0400 Date: Fri, 27 Mar 2015 08:30:20 +0100 From: Quentin Casasnovas To: "Yu, Fenghua" Cc: "Hansen, Dave" , Oleg Nesterov , Borislav Petkov , Quentin Casasnovas , Andy Lutomirski , Ingo Molnar , Linus Torvalds , Pekka Riikonen , Rik van Riel , Suresh Siddha , LKML Subject: Re: Oops with tip/x86/fpu Message-ID: <20150327073020.GB6295@chrystal.uk.oracle.com> References: <54F74F59.5070107@intel.com> <20150304190651.GA5589@redhat.com> <20150304200612.GO3663@pd.tnic> <20150305151442.GA18996@redhat.com> <20150305182203.GA4203@redhat.com> <3E5A0FA7E9CA944F9D5414FEC6C712205C8ABDB0@ORSMSX105.amr.corp.intel.com> <55148B9E.1070203@intel.com> <3E5A0FA7E9CA944F9D5414FEC6C712205C8ABDD3@ORSMSX105.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E5A0FA7E9CA944F9D5414FEC6C712205C8ABDD3@ORSMSX105.amr.corp.intel.com> User-Agent: Mutt/1.5.22 (2013-10-16) X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 26, 2015 at 10:48:18PM +0000, Yu, Fenghua wrote: > > > sctxt->fpstate=(void *)1 changes the fpstate pointer in the > > > sigcontext. It will generate segfault and bad frame info in kernel. > > > > > > This is expected behavior, right? Is this still a valid test? > > > > Just to be clear, I saw a full-on kernel panic induced from an unprivileged > > application. > > > > Are you seeing something different? > > I use latest tip tree. Maybe it has the fixes already. I see "bad frame" > reported in kernel. Seems the issue has been fixed in tip tree. > Fenghua, if you're interested, the details are now public here: http://seclists.org/oss-sec/2015/q1/877 Quentin