Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751498AbdCQVni (ORCPT ); Fri, 17 Mar 2017 17:43:38 -0400 Received: from mail-it0-f50.google.com ([209.85.214.50]:38064 "EHLO mail-it0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751248AbdCQVnf (ORCPT ); Fri, 17 Mar 2017 17:43:35 -0400 MIME-Version: 1.0 In-Reply-To: References: <20170317115924.GA82960@inn.lkp.intel.com> From: Linus Torvalds Date: Fri, 17 Mar 2017 12:36:22 -0700 X-Google-Sender-Auth: qWHw0RHH81odlXSA89JYT7eUasA Message-ID: Subject: Re: [x86] 45fc8757d1: BUG:unable_to_handle_kernel To: Andy Lutomirski Cc: kernel test robot , Thomas Garnier , Ingo Molnar , Alexander Potapenko , Andrew Morton , Andrey Ryabinin , Ard Biesheuvel , Boris Ostrovsky , Borislav Petkov , Chris Wilson , Christian Borntraeger , Dmitry Vyukov , Frederic Weisbecker , Jiri Kosina , Joerg Roedel , Jonathan Corbet , Josh Poimboeuf , Juergen Gross , Kees Cook , Len Brown , Lorenzo Stoakes , "Luis R . Rodriguez" , Matt Fleming , Michal Hocko , Paolo Bonzini , Paul Gortmaker , Pavel Machek , Peter Zijlstra , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , "Rafael J . Wysocki" , Rusty Russell , Stanislaw Gruszka , Thomas Gleixner , Tim Chen , Vitaly Kuznetsov , zijun_hu , LKML , "H. Peter Anvin" , tipbuild@zytor.com, LKP 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: 505 Lines: 17 On Fri, Mar 17, 2017 at 11:20 AM, Andy Lutomirski wrote: > > I can easily imagine that breaking WINE or DOSEMU because it'll affect > the LDT, too. Can they even *read* the LDT contents, though? The whole accessed bit doesn't show up in 'struct user_desc', so you can neither set it nor read it. > How about this: I don't think that's _wrong_, but.. I'd really rather just do it in fill_ldt() itself, unless you can explain how it would be visible to anybody.. Linus