Re: PTY DOS vulnerability?

From: H. Peter Anvin (
Date: Wed Jul 02 2003 - 20:52:21 EST

Followup to: <03070220143600.04348@tabby>
By author: Jesse Pollard <>
In newsgroup:
> >
> > Isn't this something a improved sshd could do? I.e. if the
> > connection using up the last (or one of the last) pty's logs
> > in as non-root - just kill it.
> and how is it to determine that it is the last?
> try two and die if the second fails???
> at least one system just creates more ptys...

Viro's working on it... but as someone else pointed out,
"ssh root@machine bash -i" works great without any ptys. You don't
have all features, but enough to nuke whatever it is that's eating
them all.


<> at work, <> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:18 EST