poelzi/ulatencyd — Issue #31: kernel stack overrun on gentoo hardened (pax, selinux)
Author: mepho
Created: 2012-01-19 17:45:20+00:00
State: open

hardened gentoo crashes with recommended flags with error kernel stack overrun. I'm using selinux, systemd, cfq, default config (stripped of bfq options) and I turned pax off for /usr/bin/ulatencyd binary (and I did actually read FAQ).
As I dont use any debug features and I use pax for everything, trace haven't helped me to further localize the problem.

I did ran these prior to ulatencyd (I see nothing wrong in here):

ulatencyd -v -f /ulatencyd.log:
> http://paste.pocoo.org/show/537363/
and tail -f /var/log/dmesg >> /ulatencyd.dmesg:
> http://paste.pocoo.org/show/537364/

I noticed this does not happen with CONFIG_CFQ_GROUP_IOSCHED scheduler turned off (while other options are up).
I'm happy to do more debugging, however I am not quite sure how to test this (appart from compiling new kernel with debug features on and security stuff off).