Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1197191

Re: [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous

From Boris Ostrovsky <boris.ostrovsky@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous
Date 2015-07-31 19:00 +0200
Message-ID <pSlP5-3eU-13@gated-at.bofh.it> (permalink)
References (1 earlier) <pR5Mn-8i5-11@gated-at.bofh.it> <pS0hA-5z1-9@gated-at.bofh.it> <pS0AW-6aH-25@gated-at.bofh.it> <pS0Uh-6xm-3@gated-at.bofh.it> <pS1GG-7H3-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/30/2015 03:25 PM, Andy Lutomirski wrote:
> On Thu, Jul 30, 2015 at 11:35 AM, Boris Ostrovsky
> <boris.ostrovsky@oracle.com> wrote:
>> [OK]    LDT entry 0 has AR 0x0040F200 and limit 0x00000000
>> [OK]    LDT entry 0 is invalid
>> [RUN]   Cross-CPU LDT invalidation
>> Segmentation fault (core dumped)
> That's not good.
>
> Can you backtrace it?  (I.e. compite ldt_gdt_32 with -g and load the
> core dumb in gdb?)  My best guesses are either a signal delivery
> failure (although that shouldn't be a problem for 32-bit userspace on
> any kernel) or an actual LDT access fault, and the latter would be
> interesting.
>
> I haven't been able to reproduce this.

This looks like a userspace bug. Breaks on F18, works fine in F22.

Possibly something about signal handling --- I noticed on F18 I'd get 
two SEGV's in a row whereas we should only get one.

Anyway, this is not an issue as far as this thread is concerned.

-boris
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/4] x86: modify_ldt improvement, test, and config option Andy Lutomirski <luto@kernel.org> - 2015-07-28 07:40 +0200
  [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous Andy Lutomirski <luto@kernel.org> - 2015-07-28 07:40 +0200
    Re: [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous Borislav Petkov <bp@alien8.de> - 2015-07-30 09:50 +0200
    Re: [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-07-30 20:40 +0200
      Re: [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous Andy Lutomirski <luto@amacapital.net> - 2015-07-30 21:30 +0200
        Re: [PATCH v5 2/4] x86/ldt: Make modify_ldt synchronous Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-07-31 19:00 +0200
  [PATCH v5 3/4] selftests/x86, x86/ldt: Add a selftest for modify_ldt Andy Lutomirski <luto@kernel.org> - 2015-07-28 07:40 +0200
  [PATCH v5 4/4] x86/ldt: Make modify_ldt optional Andy Lutomirski <luto@kernel.org> - 2015-07-28 07:40 +0200
    Re: [PATCH v5 4/4] x86/ldt: Make modify_ldt optional Kees Cook <keescook@chromium.org> - 2015-07-28 22:50 +0200
      Re: [PATCH v5 4/4] x86/ldt: Make modify_ldt optional Willy Tarreau <w@1wt.eu> - 2015-07-28 23:00 +0200
  Re: [PATCH v5 0/4] x86: modify_ldt improvement, test, and config  option Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-07-30 18:00 +0200
    Re: [PATCH v5 0/4] x86: modify_ldt improvement, test, and config  option Borislav Petkov <bp@alien8.de> - 2015-07-30 18:10 +0200

csiph-web