lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160808215854.GA6867@xo-6d-61-c0.localdomain>
Date:	Mon, 8 Aug 2016 23:58:54 +0200
From:	Pavel Machek <pavel@....cz>
To:	Jiri Kosina <jikos@...nel.org>
Cc:	"Rafael J. Wysocki" <rjw@...ysocki.net>, linux-pm@...r.kernel.org,
	linux-kernel@...r.kernel.org, Thomas Garnier <thgarnie@...gle.com>
Subject: Re: 4.8-rc1: resume from hibernation doesn't work

On Tue 2016-08-09 10:54:15, Jiri Kosina wrote:
> On Tue, 9 Aug 2016, Jiri Kosina wrote:
> 
> > current Linus' tree (HEAD 65ea11ec6, so basically 4.8-rc1+) has broken 
> > resume from hibernation on my x200s.
> > 
> > Suspend works correctly, resuming proceeds up to the point where it 
> > reports 100% of reading of the hibernation image, and afterwards the 
> > machine reboots (tripple fault ... dunno, I don't really see any kernel 
> > messages between the report of reading the hibernation image and reboot).
> > 
> > 4.7-rc4 is fine on this machine, so I thought I'd bisect it, but 
> > unfortunately at some point in the bisection process, the hibernation 
> > itself breaks, so there is not really a way for me to bisect it.
> > 
> > Any ideas which patches to try to revert?
> 
> Okay, turning off CONFIG_RANDOMIZE_MEMORY makes the problem go away and 
> machine resumes properly (and yes, I am running a kernel that already 
> contains c226fab474).
> 
> Adding Thomas Garnier to CC as well.

64-bit kernel, I assume?

I believe that is known:

From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Thomas Garnier <thgarnie@...gle.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, Borislav Petkov <bp@...e.de>, "Rafael J. Wysocki"
       	<rjw@...ysocki.net>, Linux PM list <linux-pm@...r.kernel.org>, the arch/x86 maintainers
        <x86@...nel.org>, Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Yinghai Lu
       	<yinghai@...nel.org>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar
        <mingo@...hat.com>, "H . Peter Anvin" <hpa@...or.com>, Kees Cook <keescook@...omium.org>,
        Pavel Machek <pavel@....cz>, Kernel Hardening <kernel-hardening@...ts.openwall.com>,
        Borislav Petkov <bpetkov@...e.de>
Subject: Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly
...

>>>> Suggested-by: Yinghai Lu <yinghai@...nel.org>
>>>> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
>>>> Acked-by: Yinghai Lu <yinghai@...nel.org>
>>>> ---
>>>>
>>>> This is sort of urgent, because hibernation doesn't work with KASLR on x86-64
>>>> in 4.8-rc1 AFAICS and this should make them work together again.
>>>>
>>>> Unless anyone sees any problems with it, I'll queue it up for 4.8-rc2.
>>>> 
>>>> Thomas, would it be possible to test it with KASLR enabled, please?

So yes, testing the patch from that thread would be helpful.

Thanks,
										Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ