[solved]rwx mprotect problem
Posted: Wed Feb 09, 2011 5:54 am
Hi,
login problem due to mprotect:
grsec: denied RWX mprotect of /lib/ld-2.13.so by /bin/login[login:20260] uid/euid:0/0 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
Feb 9 10:19:04 spunk kernel: login[20260]: segfault at 6f53131e7d90 ip 00006f5312fd0bfe sp 00007974b4fb0840 error 7 in ld-2.13.so[6f5312fca000+1e000]
Feb 9 10:19:04 spunk kernel: grsec: Segmentation fault occurred at 00006f53131e7d90 in /bin/login[login:20260] uid/euid:0/0 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
Feb 9 10:19:04 spunk kernel: grsec: more alerts, logging disabled for 10 seconds
Running archlinux and my own build of grsec (grsecurity-2.2.1-2.6.36.2-201012192125.patch).
Not able to logon to any tty if grsec-kernel is enabled (no grsec/pax upgrade).
I am not sure if disabling mprotect on the lib is the solution but maybe you can tell?
Info about glibc:
/lib/ld-2.13.so owned by glibc 2.13-1
I did check the other threads about same issue "http://forums.grsecurity.net/search.php?sid=e5424478a93a2dd2cf1e6518cef7cf28"
Any other information needed to solve this?
Regards,
franz
login problem due to mprotect:
grsec: denied RWX mprotect of /lib/ld-2.13.so by /bin/login[login:20260] uid/euid:0/0 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
Feb 9 10:19:04 spunk kernel: login[20260]: segfault at 6f53131e7d90 ip 00006f5312fd0bfe sp 00007974b4fb0840 error 7 in ld-2.13.so[6f5312fca000+1e000]
Feb 9 10:19:04 spunk kernel: grsec: Segmentation fault occurred at 00006f53131e7d90 in /bin/login[login:20260] uid/euid:0/0 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
Feb 9 10:19:04 spunk kernel: grsec: more alerts, logging disabled for 10 seconds
Running archlinux and my own build of grsec (grsecurity-2.2.1-2.6.36.2-201012192125.patch).
Not able to logon to any tty if grsec-kernel is enabled (no grsec/pax upgrade).
I am not sure if disabling mprotect on the lib is the solution but maybe you can tell?
Info about glibc:
/lib/ld-2.13.so owned by glibc 2.13-1
I did check the other threads about same issue "http://forums.grsecurity.net/search.php?sid=e5424478a93a2dd2cf1e6518cef7cf28"
Any other information needed to solve this?
Regards,
franz