This fixes the problems for me and tests out against normal system utilization, the minimal test case, and the original bash-loaded test- case, with randomize_va_space set to 0 or 2 ("1" still triggers the problem, but the combination of large PIE brk allocations and randomized-without-brk is not a sane combination).
https://lists.ubuntu.com/archives/kernel-team/2010-January/008314.html ** Attachment added: "0001-UBUNTU-SAUCE-x86-brk-away-from-exec-rand-area.patch" http://launchpadlibrarian.net/37938467/0001-UBUNTU-SAUCE-x86-brk-away-from-exec-rand-area.patch ** Also affects: bash (Ubuntu Lucid) Importance: Medium Status: Invalid ** Also affects: linux (Ubuntu Lucid) Importance: Medium Assignee: Amit Kucheria (amitk) Status: Confirmed ** Changed in: linux (Ubuntu Lucid) Assignee: Amit Kucheria (amitk) => Kees Cook (kees) ** Changed in: bash (Ubuntu Lucid) Importance: Medium => Undecided -- Random segfaults when using ld.so explicitly to start a program https://bugs.launchpad.net/bugs/452175 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs