Keyboard interrupt handler panic

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

Keyboard interrupt handler panic

Postby goodbyte » Thu Jul 18, 2002 8:30 am

After upgrading to grsec-1.9.5 my kernel panics when pressing ctrl+alt+delete or ctrl+alt+end (my own keyboard interrupt for halting the system).
Anybody having the same problem?
goodbyte
 
Posts: 32
Joined: Sun May 12, 2002 4:33 am

Postby spender » Fri Jul 19, 2002 2:17 pm

i haven't seen this on any of my systems..

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Done some tracing...

Postby goodbyte » Sun Jul 21, 2002 2:57 pm

I wrote down my kernel panic message and traced the call stack, what I came up with is that when I press ctrl+alt+del, the function ctrl_alt_del will send a sig_kill to initd. This results in gr_check_protected_task beeing called from an interrupt handler, and that in combination with my kill protection of initd will cause a kernel panic. I solved this issue by making the check for (current->pid > 1) before the call to gr_check_protected_task at signal.c:683 (the check was already there, I just moved it).
goodbyte
 
Posts: 32
Joined: Sun May 12, 2002 4:33 am


Return to grsecurity support