I've grsecurity-2.1.14-2.6.33-201003071645.patch applied to the linux-2.6.33, and it seems to paxtest-0.9.9 vulnerable.
- Code: Select all
Mode: blackhat
Linux 23.s 2.6.33-grsec #1 Mon Mar 8 14:53:30 GMT+1 2010 i686 i686 i386 GNU/Linux
Executable anonymous mapping : Vulnerable
Executable bss : Vulnerable
Executable data : Vulnerable
Executable heap : Vulnerable
Executable stack : Vulnerable
Executable shared library bss : Vulnerable
Executable shared library data : Vulnerable
Executable anonymous mapping (mprotect) : Vulnerable
Executable bss (mprotect) : Vulnerable
Executable data (mprotect) : Vulnerable
Executable heap (mprotect) : Vulnerable
Executable stack (mprotect) : Vulnerable
Executable shared library bss (mprotect) : Vulnerable
Executable shared library data (mprotect): Vulnerable
Writable text segments : Killed
Anonymous mapping randomisation test : 18 bits (guessed)
Heap randomisation test (ET_EXEC) : 13 bits (guessed)
Heap randomisation test (PIE) : 24 bits (guessed)
Main executable randomisation (ET_EXEC) : No randomisation
Main executable randomisation (PIE) : 16 bits (guessed)
Shared library randomisation test : 18 bits (guessed)
Stack randomisation test (SEGMEXEC) : 23 bits (guessed)
Stack randomisation test (PAGEEXEC) : 24 bits (guessed)
Return to function (strcpy) : Vulnerable
Return to function (memcpy) : Vulnerable
Return to function (strcpy, PIE) : Vulnerable
Return to function (memcpy, PIE) : Vulnerable
- Code: Select all
gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC)
With grsecurity-2.1.14-2.6.32.9-201003071225.patch linux-2.6.32.9 paxtest-0.9.9 seems fine.
- Code: Select all
Mode: blackhat
Linux 23.s 2.6.32.9-grsec #3 Tue Mar 2 22:34:25 GMT+1 2010 i686 i686 i386 GNU/Linux
Executable anonymous mapping : Killed
Executable bss : Killed
Executable data : Killed
Executable heap : Killed
Executable stack : Killed
Executable shared library bss : Killed
Executable shared library data : Killed
Executable anonymous mapping (mprotect) : Killed
Executable bss (mprotect) : Killed
Executable data (mprotect) : Killed
Executable heap (mprotect) : Killed
Executable stack (mprotect) : Killed
Executable shared library bss (mprotect) : Killed
Executable shared library data (mprotect): Killed
Writable text segments : Killed
Anonymous mapping randomisation test : 17 bits (guessed)
Heap randomisation test (ET_EXEC) : 13 bits (guessed)
Heap randomisation test (PIE) : 23 bits (guessed)
I also tried at gentoo, with patched gcc, with i686-pc-linux-gnu-4.3.4-hardenednopie.specs
- Code: Select all
gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5)
It's possible that commit went wrong?