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>] [day] [month] [year] [list]
Date:	Thu, 14 Apr 2016 20:03:21 +0800
From:	Dave Young <dyoung@...hat.com>
To:	torvalds@...ux-foundation.org
Cc:	kexec@...ts.infradead.org, linux-kernel@...r.kernel.org,
	zhezhang@...hat.com, ebiederm@...ssion.com, vgoyal@...hat.com
Subject: kexec loading fails without kernel code address in /proc/iomem

Hi, Linus

Zhengyu Zhang <zhezhang@...hat.com> found a kexec failure caused by below commit:

commit c4004b02f8e5b9ce357a0bb1641756cc86962664
Author: Linus Torvalds <torvalds@...ux-foundation.org>
Date:   Wed Apr 6 13:45:07 2016 -0700

    x86: remove the kernel code/data/bss resources from /proc/iomem
    
    Let's see if anybody even notices.  I doubt anybody uses this, and it
    does expose addresses that should be randomized, so let's just remove
    the code.  It's old and traditional, and it used to be cute, but we
    should have removed this long ago.
    
    If it turns out anybody notices and this breaks something, we'll have to
    revert this, and maybe we'll end up using other approaches instead
    (using %pK or similar).  But removing unnecessary code is always the
    preferred option.
    
    Noted-by: Emrah Demir <ed@...sec.com>
    Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>


Probably we should revert the commit and do it in other way ..

Thanks
Dave

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ