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]
Message-ID: <Pine.LNX.4.64.0708022259170.1779@jikos.suse.cz>
Date:	Thu, 2 Aug 2007 23:03:21 +0200 (CEST)
From:	Jiri Kosina <jkosina@...e.cz>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	Sergey Vlasov <vsu@...linux.ru>,
	Ulrich Kunitz <kune@...ne-taler.de>,
	Chuck Ebbert <cebbert@...hat.com>,
	linux-kernel@...r.kernel.org, Jan Kratochvil <honza@...os.cz>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: Is PIE randomization breaking klibc binaries?

On Thu, 2 Aug 2007, H. Peter Anvin wrote:

> Yup... it should probably be pointed out the reason the old kernel 
> worked was nothing but pure dumb luck.  This was a GNU ld change which 
> needed to be undone for klibc.  It's unfortunate that stock x86-64 
> binaries leave as little of a null pointer range as they do, but that's 
> life, unfortunately.  The other alternative is to map klibc just below 
> the 2 GB point, which would also work, but the old way broke when the ld 
> change went in.  As previously stated, klibc-1.4.35 or higher fixes 
> this.

Thanks for pointing this out. So it seems that maybe the mainline revert 
of pie-randomization.patch was a little bit premature. Bret -- could you 
please clarify whether you have experienced also klibc-related segfaults 
with pie-randomization.patch applied, or you have had just random binaries 
segfaulting, as you pointed out here: http://lkml.org/lkml/2007/7/21/31

Seems like you are also using ubuntu, same as Ulrich, so you might have 
been hitting the very same behavior of klibc-1.4.

Thanks in advance for clarifying this, so that I can eventually resubmit 
the pie-randomization patch.

Thanks,

-- 
Jiri Kosina
SUSE Labs
-
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