hang with 2.6.23.14
Posted: Wed Mar 12, 2008 12:43 pm
machine hangs with 2.6.23.14 when trying to attach to sshd (it's subject flags are "dpo"). i would expect to get a not permitted error, as the root role has "uGT" flags and thus should not be able to ptrace random processes?
at this point the machine stops responding and i have to reboot it. the condition is reproducible.
- Code: Select all
root 3821 0.0 0.0 37276 1784 ? Ss 16:28 0:00 sshd: root [priv]
sshd 3822 0.0 0.0 20708 1392 ? S 16:28 0:00 sshd: root [net]
root 3824 0.0 0.0 9836 932 pts/0 R+ 16:28 0:00 ps aux
test:~# gdb -p 3822
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-linux".
Attaching to process 3822
ptrace: Operation not permitted.
/root/3822: No such file or directory.
(gdb)
test:~# gdb -p 3821
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-linux".
Attaching to process 3821
at this point the machine stops responding and i have to reboot it. the condition is reproducible.