AMD64 and grsecurity

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

AMD64 and grsecurity

Postby hanno » Sun Mar 19, 2006 7:47 am

In a few days I have to set up a brand new rootserver.

We've been using grsecurity in the past, now we switch to an amd64-machine. Any things regarding grsecurity I should know? Is it considered stable on amd64?

Any options I should avoid?
hanno
 
Posts: 26
Joined: Thu Dec 16, 2004 4:37 am

Re: AMD64 and grsecurity

Postby PaX Team » Mon Mar 20, 2006 5:45 am

hanno wrote:In a few days I have to set up a brand new rootserver.

We've been using grsecurity in the past, now we switch to an amd64-machine. Any things regarding grsecurity I should know? Is it considered stable on amd64?

Any options I should avoid?
i assume that by amd64 you also mean to run a 64-bit (amd64) kernel, not 32 bit (i386). in that case the answer is that 'it works' but... there're some unsolved security related problems. first, there's the vsyscall page handling, on amd64 (meaning both 64 bit and 32 bit userland) it exists at a fixed address and i didn't get around to remove it yet (and from what i recall, it's not trivial for the 64 bit userland case, randomizing it might be easier). second, there's no kernel self-protection (KERNEXEC/RANDKSTACK). third, there're some 64 bit CPUs that lack the NX bit support, in that case you will lack PAGEEXEC (and unfortunately it can't be determined at compile time, so you will only realize it later at runtime, check /proc/cpuinfo for 'nx').
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support

cron