[Bug 1374] New: sshd -D produces zombies if authentication is interrupted

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Oct 8 07:53:37 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1374

           Summary: sshd -D produces zombies if authentication is
                    interrupted
           Product: Portable OpenSSH
           Version: 4.7p1
          Platform: All
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: jwk at bug.it


If sshd 4.7p1 and earlier is run with "-D" flag under FreeBSD and
PrivilegeSeparation is enabled, the daemon leaves a zombie if a
connection is reset during authentication. Example follows.

before:

% ps auwx | grep sshd
root       6160  0.0  0.2  2852  2380  p0  S+   11:43PM   0:00.02
/usr/sbin/sshd -D -e

connecting:

% ps auwx | grep sshd
sshd       6189  0.0  0.2  4260  2540  ??  S    11:45PM   0:00.01 sshd:
jwk [net] (sshd)
root       6190  0.0  0.3  4452  2700  ??  S    11:45PM   0:00.00 sshd:
jwk [pam] (sshd)
root       6160  0.0  0.2  2852  2380  p0  S+   11:43PM   0:00.02
/usr/sbin/sshd -D -e

after:

% ps auwx | grep sshd
sshd       6189  0.0  0.0     0     0  ??  Z    11:45PM   0:00.01
<defunct>
root       6160  0.0  0.2  2852  2380  p0  I+   11:43PM   0:00.02
/usr/sbin/sshd -D -e

stderr reports:

Server listening on :: port 22.
Server listening on 0.0.0.0 port 22.
Postponed keyboard-interactive for jwk from [...] port 14668 ssh2
Connection closed by [...]


-- 
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list