Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759455AbbDYN4F (ORCPT ); Sat, 25 Apr 2015 09:56:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52470 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754305AbbDYN4B (ORCPT ); Sat, 25 Apr 2015 09:56:01 -0400 Message-ID: <553B9CCD.4040408@redhat.com> Date: Sat, 25 Apr 2015 15:55:25 +0200 From: Denys Vlasenko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Andy Lutomirski , X86 ML CC: "H. Peter Anvin" , Borislav Petkov , Denys Vlasenko , Linus Torvalds , Brian Gerst , Ingo Molnar , Steven Rostedt , Oleg Nesterov , Frederic Weisbecker , Alexei Starovoitov , Will Drewry , Kees Cook , Linux Kernel Mailing List Subject: Re: [PATCH] x86, selftests: Add a test for the "sysret_ss_attrs" bug References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 734 Lines: 16 On 04/25/2015 12:09 AM, Andy Lutomirski wrote: > On AMD CPUs, SYSRET can return with a valid SS descriptor with with > the hidden attributes set to an unusable state. Make sure the kernel > doesn't let this happen. This detects an as-yet-unfixed regression. > > Note that the 64-bit version of this test fails on AMD CPUs on all > kernel versions, although the issue in the 64-bit case is much less > severe than in the 32-bit case. Confirmed to detect the "bug" in 64-bit userspace. -- 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/