pageexec , kvm and getstack2 failing to complete running
Posted: Fri Mar 04, 2011 1:02 pm
Hello,
Since yesterday I am facing the same problem as mentioned here: https://forums.grsecurity.net/viewtopic ... ack2#p9157. I run an x86 heardened gentoo as guest on kvm. The host system is an amd64 hardened gentoo(with nx bit). Until I removed pageexec (as paxteam suggested at the last reply of the aforementioned topic) every time I ran paxtest it would not finish, having getstack2 using 100% of the cpu. While using both segmexec and pageexec I tried running the guest with and without nx bit enabled (-cpu host and -cpu pentium3 respectively), but without any success running gettack2 correctly.
So now, in order to have it working I have my guest without nxbit, and with pageexec disabled.
In all my other x86 pcs (physical not virtual pcs) I am able having both segmexec and pageexec enabled(only one of these has nx bit).
Although I am using segmexec as a noexec method aren't there any other benefits for using pageexec also?
Can they be both used simultaneously(the way that they are configured on my other x86 pcs)?
If not, how can I say which is used? Which one should I prefer?
If they can is there a any suggestion for fixing it for my kvm guest?
Thank you for your time
Since yesterday I am facing the same problem as mentioned here: https://forums.grsecurity.net/viewtopic ... ack2#p9157. I run an x86 heardened gentoo as guest on kvm. The host system is an amd64 hardened gentoo(with nx bit). Until I removed pageexec (as paxteam suggested at the last reply of the aforementioned topic) every time I ran paxtest it would not finish, having getstack2 using 100% of the cpu. While using both segmexec and pageexec I tried running the guest with and without nx bit enabled (-cpu host and -cpu pentium3 respectively), but without any success running gettack2 correctly.
So now, in order to have it working I have my guest without nxbit, and with pageexec disabled.
In all my other x86 pcs (physical not virtual pcs) I am able having both segmexec and pageexec enabled(only one of these has nx bit).
Although I am using segmexec as a noexec method aren't there any other benefits for using pageexec also?
Can they be both used simultaneously(the way that they are configured on my other x86 pcs)?
If not, how can I say which is used? Which one should I prefer?
If they can is there a any suggestion for fixing it for my kvm guest?
Thank you for your time