lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <48434D57.6030801@skyrush.com>
Date:	Sun, 01 Jun 2008 19:31:03 -0600
From:	Joe Peterson <joe@...rush.com>
To:	harald.dunkel@...nline.de, linux-kernel@...r.kernel.org
CC:	Alan Cox <alan@...hat.com>
Subject: Re: 2.6.25.3: su gets stuck for root

Hi Harold,

I just also discovered this problem independently, and when I tracked it
down to stty and googled for it, I found your post.  In my test case, it
seems to get stuck in stty as run from the user's .bashrc (i.e., "su
user", where the user's .bashrc has the stty command).  In my case, the
arguments to stty do not seem to matter (well, I've tried "-ixany" and
"echoctl" - same results).  Also, the problem is made more reliable if a
sleep is done before the stty.  E.g., here's my test .bashrc:

sleep 2
stty -ixany

Note that if run from the console or a tty, having the user logged in
already seems to avoid the hang, but doing it within an xterm shows the
hang.  Strange, since with my original [more complex] test case, it
seemed to require *not* running X (tty/console only).

Most recent kernels show the issue - the only one that doesn't is
2.6.25-git17.  I am running Gentoo.  It does happen in a recent 2.6.26
git (an rc4 git from a couple of days ago).

Doing "ps" while hung shows stty in the "T" state.  "killall -9 stty"
releases it.

					-Joe

P.S.  Please cc my address on reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ