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


Groups > linux.kernel > #1718524

Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to nmi handler

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to nmi handler
Date 2017-08-23 19:00 +0200
Message-ID <uhHax-30H-3@gated-at.bofh.it> (permalink)
References <uhljI-5x9-11@gated-at.bofh.it> <uhlD4-5Gr-23@gated-at.bofh.it> <uhEFI-1Aq-19@gated-at.bofh.it> <uhFLt-2fj-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


To avoid further wasting time solving this wrong: NAK.  pt_regs is the actual interrupted state, not some oddly sanitized version thereof.  NMI isn't even the only way you can have a weird pt_regs like this.

It seems that some older kernels contain bugs where they incorrectly assume that regs->rsp is a valid pointer.  Why don't you write a patch for *that * and send it to lkml, us, and stable@vger.kernel.org.

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


Thread

Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to  nmi handler Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-22 20:00 +0200
  Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to  nmi handler oliver yang <yangoliver@gmail.com> - 2017-08-23 16:20 +0200
    Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to  nmi handler Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-23 17:30 +0200
      Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to nmi handler Andy Lutomirski <luto@amacapital.net> - 2017-08-23 19:00 +0200
        Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to  nmi handler oliver yang <yangoliver@gmail.com> - 2017-08-23 19:40 +0200
      Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to  nmi handler oliver yang <yangoliver@gmail.com> - 2017-08-23 19:40 +0200

csiph-web