From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f182.google.com ([209.85.223.182]:46068 "EHLO mail-io0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752333AbdJPRwH (ORCPT ); Mon, 16 Oct 2017 13:52:07 -0400 Date: Mon, 16 Oct 2017 10:52:02 -0700 From: Eric Biggers To: Ben Hutchings Cc: stable@vger.kernel.org, stable-commits@vger.kernel.org, Greg Kroah-Hartman , akpm@linux-foundation.org, bp@alien8.de, dave.hansen@linux.intel.com, dvyukov@google.com, ebiggers@google.com, fenghua.yu@intel.com, haokexin@gmail.com, keescook@chromium.org, luto@amacapital.net, luto@kernel.org, mhalcrow@google.com, mingo@kernel.org, oleg@redhat.com, peterz@infradead.org, riel@redhat.com, tglx@linutronix.de, torvalds@linux-foundation.org, wanpeng.li@hotmail.com, yu-cheng.yu@intel.com Subject: Re: Patch "x86/fpu: Don't let userspace set bogus xcomp_bv" has been added to the 4.4-stable tree Message-ID: <20171016175202.GB121701@gmail.com> References: <1506970761242129@kroah.com> <1508175292.22379.30.camel@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1508175292.22379.30.camel@codethink.co.uk> Sender: stable-owner@vger.kernel.org List-ID: Hi Ben, On Mon, Oct 16, 2017 at 06:34:52PM +0100, Ben Hutchings wrote: > On Mon, 2017-10-02 at 20:59 +0200, gregkh@linuxfoundation.org wrote: > [...] > > From: Eric Biggers > > > > commit 814fb7bb7db5433757d76f4c4502c96fc53b0b5e upstream. > > > > [Please apply to 4.4-stable.��Note: the backport includes the > > fpstate_init() call in xstateregs_set(), since fix is useless without > > it.��It was added by commit 91c3dba7dbc1 ("x86/fpu/xstate: Fix PTRACE > > frames for XSAVES"), but it doesn't make sense to backport that whole > > commit.] > [...] > > Why doesn't it make sense to backport that? It seems less important > than this fix, but it fixes a userspace-visible regression. > It seems that commit was part of a series of commits that fixed XSAVES support and then re-enabled it. Before then the XSAVES support was actually disabled; see commit e88221c50cad ("x86/fpu: Disable XSAVES* support for now"). So commit 91c3dba7dbc1 didn't fix a regression, as the code was already disabled. Eric