Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753054AbbBXUIv (ORCPT ); Tue, 24 Feb 2015 15:08:51 -0500 Received: from mail-qc0-f179.google.com ([209.85.216.179]:40048 "EHLO mail-qc0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752728AbbBXUIt (ORCPT ); Tue, 24 Feb 2015 15:08:49 -0500 MIME-Version: 1.0 In-Reply-To: References: From: Denys Vlasenko Date: Tue, 24 Feb 2015 21:08:28 +0100 Message-ID: Subject: Re: [PATCH 3.2 055/152] x86_64, switch_to(): Load TLS descriptors before switching DS and ES To: Andy Lutomirski Cc: Ben Hutchings , Linux Kernel Mailing List , stable , Andrew Morton , Ingo Molnar , Andi Kleen , Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 931 Lines: 23 On Tue, Feb 24, 2015 at 9:02 PM, Andy Lutomirski wrote: >> This currently fails in 32-bit kernels (at least in qemu): >> >> / # ./es_test >> Allocated GDT index 7 >> [FAIL] ES changed from 0x3b to 0x7b >> [FAIL] ES was corrupted 1000/1000 times >> / # uname -a >> Linux (none) 4.0.0-rc1 #1 SMP Tue Feb 24 16:41:58 CET 2015 i686 GNU/Linux > > Want to send a patch? I'll get it in a few days if no one beats me. I have no patch, sorry (in fact, I failed to find where is the relevant 32-bit counterpart). It's just security people asked me to backport this and I wondered maybe I should wait a bit on this one, since fix for 32-bit ought to appear as well. -- 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/