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


Groups > linux.kernel > #1472431

Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory map by md5 value

From "Rafael J. Wysocki" <rjw@rjwysocki.net>
Newsgroups linux.kernel
Subject Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory map by md5 value
Date 2016-08-30 13:50 +0200
Message-ID <sbPIe-4et-7@gated-at.bofh.it> (permalink)
References <sbb86-41k-21@gated-at.bofh.it> <sbp1n-4ix-3@gated-at.bofh.it> <sbw2R-62-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Monday, August 29, 2016 03:41:23 PM Borislav Petkov wrote:
> On Mon, Aug 29, 2016 at 09:15:00AM +0200, Pavel Machek wrote:
> > Sounds about as easy as hot unplugging arbitrary memory address. IOW
> > "not easy".
> 
> Regardless, forcibly panicking the system more is still the wrong
> approach IMO.

Agreed.

> Instead, I'd try to issue a big fat warning that BIOS corrupts E820 and
> that the user should disable hibernation on that box and never ever
> enable it again.
> 
> After that, the kernel should *disable* hibernation for the current boot
> so any further hibernation runs don't even happen. Maybe even taint
> itself.

Yes, taint the kernel when e820 mismatch is detected.

It may be a good idea to start an emergency shutdown in that case too, but
after getting to a point when it actually has a chance to work.

Thanks,
Rafael

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


Thread

[PATCH][v8] PM / hibernate: Verify the consistent of e820 memory map by md5 value Chen Yu <yu.c.chen@intel.com> - 2016-08-28 18:30 +0200
  Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Pavel Machek <pavel@ucw.cz> - 2016-08-28 18:40 +0200
  Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Borislav Petkov <bp@alien8.de> - 2016-08-29 07:10 +0200
    Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Pavel Machek <pavel@ucw.cz> - 2016-08-29 09:20 +0200
      Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Borislav Petkov <bp@alien8.de> - 2016-08-29 16:50 +0200
        Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value joeyli <jlee@suse.com> - 2016-08-30 10:40 +0200
          Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory map by md5 value "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-08-30 13:50 +0200
            Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Pavel Machek <pavel@ucw.cz> - 2016-09-08 23:20 +0200
              Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Chen Yu <yu.c.chen@intel.com> - 2016-09-09 09:30 +0200
                Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Pavel Machek <pavel@ucw.cz> - 2016-09-09 09:40 +0200
        Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory map by md5 value "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-08-30 13:50 +0200
    Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-29 15:50 +0200
      Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Pavel Machek <pavel@ucw.cz> - 2016-08-29 17:20 +0200
        Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory map by md5 value "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-08-30 14:00 +0200
          Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Pavel Machek <pavel@ucw.cz> - 2016-08-30 22:00 +0200
            Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-31 00:00 +0200
              Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Pavel Machek <pavel@ucw.cz> - 2016-08-31 13:10 +0200
  Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory map by md5 value "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-08-31 02:30 +0200
    Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Pavel Machek <pavel@ucw.cz> - 2016-08-31 13:10 +0200
      Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value Pavel Machek <pavel@ucw.cz> - 2016-08-31 13:50 +0200
        Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory  map by md5 value "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-31 14:00 +0200

csiph-web