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


Groups > linux.kernel > #1434181

Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption during image restoration

From "Rafael J. Wysocki" <rjw@rjwysocki.net>
Newsgroups linux.kernel
Subject Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption during image restoration
Date 2016-06-30 04:20 +0200
Message-ID <rPzK9-3Lo-5@gated-at.bofh.it> (permalink)
References <rKZFg-5tp-17@gated-at.bofh.it> <rPoYq-5oC-23@gated-at.bofh.it> <rPzqN-3jh-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday, June 29, 2016 07:52:18 PM Logan Gunthorpe wrote:
> Hey Raf,
> 
> Sorry to report that although the patch works the majority of the time, 
> I just got a suspicious kernel panic during resume.
> 
> It said:
> 
> "kernel tried to execute NX protected page - exploit attempt? (uid: 0)"
> 
> You can find a photo of the panic here:
> 
> http://staff.deltatee.com/~logang/panic.jpg

Thanks for the report!

That's not what Boris was seeing at least.

It looks like clearing the NX bit for relocated_restore_code in
relocate_restore_code() didn't work for some reason.

I don't see why it may not work ATM, I need to have a fresh look at that
tomorrow.

I had hoped to be able to fix this bug for 4.7, but it looks like it will
miss the mark after all.  Oh well.

Thanks,
Rafael

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


Thread

[PATCH v3] x86/power/64: Fix kernel text mapping corruption during image restoration (was: Re: ktime_get_ts64() splat during resume) "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-06-27 16:30 +0200
  Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption  during image restoration (was: Re: ktime_get_ts64() splat during resume) Borislav Petkov <bp@alien8.de> - 2016-06-27 22:10 +0200
  Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption  during image restoration Logan Gunthorpe <logang@deltatee.com> - 2016-06-28 01:40 +0200
    Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption  during image restoration Kees Cook <keescook@chromium.org> - 2016-06-29 16:50 +0200
      Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption  during image restoration Logan Gunthorpe <logang@deltatee.com> - 2016-06-30 04:00 +0200
        Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption during image restoration "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-06-30 04:20 +0200
          Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption during image restoration "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-06-30 05:00 +0200
            Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption  during image restoration Logan Gunthorpe <logang@deltatee.com> - 2016-06-30 06:00 +0200
              Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption  during image restoration "Rafael J. Wysocki" <rafael@kernel.org> - 2016-06-30 14:20 +0200
          Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption  during image restoration Borislav Petkov <bp@alien8.de> - 2016-06-30 12:00 +0200
            Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption  during image restoration "Rafael J. Wysocki" <rafael@kernel.org> - 2016-06-30 13:30 +0200
  [PATCH v4] x86/power/64: Fix kernel text mapping corruption during image restoration "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-06-30 15:20 +0200
    Re: [PATCH v4] x86/power/64: Fix kernel text mapping corruption  during image restoration Borislav Petkov <bp@alien8.de> - 2016-06-30 17:10 +0200
      Re: [PATCH v4] x86/power/64: Fix kernel text mapping corruption  during image restoration Andy Lutomirski <luto@amacapital.net> - 2016-06-30 17:30 +0200
        Re: [PATCH v4] x86/power/64: Fix kernel text mapping corruption  during image restoration "Rafael J. Wysocki" <rafael@kernel.org> - 2016-06-30 17:50 +0200
          Re: [PATCH v4] x86/power/64: Fix kernel text mapping corruption  during image restoration Andy Lutomirski <luto@amacapital.net> - 2016-06-30 19:30 +0200
      Re: [PATCH v4] x86/power/64: Fix kernel text mapping corruption  during image restoration "Rafael J. Wysocki" <rafael@kernel.org> - 2016-06-30 17:40 +0200
    [PATCH v5] x86/power/64: Fix kernel text mapping corruption during image restoration "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-06-30 18:10 +0200
      Re: [PATCH v5] x86/power/64: Fix kernel text mapping corruption  during image restoration Borislav Petkov <bp@alien8.de> - 2016-06-30 19:10 +0200
      Re: [PATCH v5] x86/power/64: Fix kernel text mapping corruption  during image restoration Logan Gunthorpe <logang@deltatee.com> - 2016-06-30 23:50 +0200

csiph-web