[PATCH] UBUNTU: SAUCE: x86: brk away from exec rand area

Andy Whitcroft apw at canonical.com
Tue Jan 19 18:40:45 UTC 2010

On Tue, Jan 19, 2010 at 10:31:34AM -0800, Kees Cook wrote:
> This is a fix for the NX emulation patch to force the brk area well
> outside of the exec randomization area to avoid future allocation or brk
> growth collisions.  Normally this isn't a problem, except when the text
> region has been loaded from a PIE binary and the CS limit can't be put
> just above bss.
> Additionally, the nx-emulation patch was still randomizing addresses
> even when randomize_va_space was disabled, which would cause collisions
> even faster if someone tried to disable randomization.
> BugLink: http://bugs.launchpad.net/bugs/452175
> Signed-off-by: Kees Cook <kees.cook at canonical.com>

Acked-by: Andy Whitcroft <apw at canonical.com>


More information about the kernel-team mailing list