Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PaX ASLR broken due TLS



On Wed, Mar 16, 2011 at 03:22:42PM +0100, Joerg Sonnenberger wrote:
> ktrace is not helpful for this purpose. A coredump would at least tell
> you where and what failed.

I have very limited time currently. But you should be able to reproduce this
also by trying to recompile editors/emacs-nox11 with

        security.pax.aslr.enabled = 1
        security.pax.aslr.global = 1

in which case

===> Building for emacs-nox11-23.2
[1]   Segmentation fault (core dumped) /usr/bin/env USE...
*** Error code 139

Launching the program gives

Program terminated with signal 11, Segmentation fault.
#0  0x000073458ac4d313 in _libc_init () from /usr/lib/libc.so.12
(gdb) bt
#0  0x000073458ac4d313 in _libc_init () from /usr/lib/libc.so.12
#1  0x000073458ac37554 in ?? () from /usr/lib/libc.so.12
#2  0x000073458bbdf3a0 in ?? ()
#3  0x000073458ac33169 in _init () from /usr/lib/libc.so.12
#4  0x00007f7fffa97d80 in ?? ()
#5  0x00007f7ff7c038aa in _rtld_call_init_functions ()
        from /usr/libexec/ld.elf_so
#6  0x00007f7ff7c04743 in _rtld () from /usr/libexec/ld.elf_so
#7  0x00007f7ff7c022bf in .rtld_start () from /usr/libexec/ld.elf_so
#8  0x00007f7fffa9afe0 in ?? ()
#9  0x0000000000000000 in ?? ()

> Also, for libpthread users, the ASLR issues are only fixed with the last
> commit as I had to backout the earlier versions due to the C++ init
> issues.

This is with the last commit (March 16).

- Jukka.


Home | Main Index | Thread Index | Old Index