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] [day] [month] [year] [list]
Date:	Tue, 22 Apr 2014 14:10:35 +0200
From:	Marc Haber <mh+linux-kernel@...schlus.de>
To:	linux-kernel@...r.kernel.org
Subject: probable cause found - 3.14 on Xenserver (non-HVM): "cannot allocate
 memory")

Hi,

On Sun, Apr 20, 2014 at 10:56:39PM +0200, Marc Haber wrote:
> Linux 3.14, however, does not yet beyond the initramfs state ("cannot
> allocate memory". This also happens when i set cgroup_disable=memory.

After doing a bisect between "good 3.13" and "bad 3.14", I ended up
with this commit:

6145cfe394a7f138f6b64491c5663f97dba12450 is the first bad commit
commit 6145cfe394a7f138f6b64491c5663f97dba12450
Author: Kees Cook <keescook@...omium.org>
Date:   Thu Oct 10 17:18:18 2013 -0700

    x86, kaslr: Raise the maximum virtual address to -1 GiB on x86_64

    On 64-bit, this raises the maximum location to -1 GiB (from -1.5 GiB),
    the upper limit currently, since the kernel fixmap page mappings need
    to be moved to use the other 1 GiB (which would be the theoretical
    limit when building with -mcmodel=kernel).

    Signed-off-by: Kees Cook <keescook@...omium.org>
    Link: http://lkml.kernel.org/r/1381450698-28710-7-git-send-email-keescook@chromium.org
    Signed-off-by: H. Peter Anvin <hpa@...ux.intel.com>

:040000 040000 a48a6355e3ccd676027319ff520bf953cb07a0bb 7beb1fdd7478b6bec2555a364fbfac29d7a5a3c4 M       arch

and, indeed, reverting this commit on plain 3.14.1 makes my Xenserver
boot just fine. When reverting the patch, I took the liberty of
ignoring the REJECT in arch/x86/Kconfig.

I am, however, a bit confused that this patch dates back to october
while the breakage only occurred when 3.14 was released.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ