Re: ee using 99% cpu after user ssh session terminates abnormaly

From: Craig Edwards (brain_at_winbot.co.uk)
Date: 09/08/05

  • Next message: Nate Nielsen: "Re: ee using 99% cpu after user ssh session terminates abnormaly"
    Date: Thu, 08 Sep 2005 00:02:27 +0100
    To: Brooks Davis <brooks@one-eyed-alien.net>
    
    

    I can duplicate this with nano on freebsd 5.4 and 5.2.1

    It seems that the process ignores the HUP signal maybe or ignores the
    EOF condition on stdin, and the select loop, or whatever it uses, just
    loops infinitely with nothing to read, constantly returning an error
    condition.

    At least this is what i suspect happens. Lazy programming somewhere...

    Thanks
    Craig Edwards

    Brooks Davis wrote:
    > On Thu, Sep 08, 2005 at 08:27:13AM +1000, talonz wrote:
    >
    >>Recently i have been using a dialup 56k account to access the net
    >>and have noticed that when my ssh session times out and I am editing
    >>a file in ` ee ' the system goes to 99% cpu usage and stays like
    >>this till the pid is killed.
    >>This is a standard user account (not root/su)
    >>
    >>Would a user be able to create a denial of service condition
    >>on the remote system using this bug?
    >
    >
    > No more then they could with the ablity to run any other program that
    > loops.
    >
    >
    >>(sorry if this is posted to the incorrect list)
    >>
    >>Details:
    >>
    >>System - FreeBSD 5.4-RELEASE-p5
    >>
    >>ee using 99% cpu after user session terminates abnormaly
    >>PID reported by top.
    >>
    >>The output from ps looks like this
    >>
    >>[root@blah][~]$ ps aux| grep 70464
    >>someuser 70464 93.5 0.1 1920 1372 p1- R 7:09PM 687:07.27 ee file
    >
    >
    > I can't seem to trigger this bug on a 7.0 machine either by killing the
    > client or using tcpdrop to kill the tcp session.
    >
    > -- Brooks
    >
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"


  • Next message: Nate Nielsen: "Re: ee using 99% cpu after user ssh session terminates abnormaly"

    Relevant Pages

    • Re: File IO
      ... (Actually, from your description, the implicit DO loops are working ... your problem is when you read array slices instead of implicit DO ... > bug in the compiler or is this supposed to happen?... ...
      (comp.lang.fortran)
    • Re: who sees to many users
      ... I actually have no xterms or ssh/telnet sessions open. ... I click "new session" and immediatly log it out again, ... It sounds like a bug somewhere to me, but I have no idea at ...
      (Fedora)
    • Re: setssionetc and sessionexit ignored under gnome?
      ... I suppose you could copy the first phase gnome startup file ... but you would have to remember to undo that if&when Sun fixes that "bug", ... run when running a non-CDE session (not just GNOME, ... folks migrating from Windows!). ...
      (comp.unix.solaris)
    • Re: Framework bug with Auth and Session state?
      ... I don't know if it is a bug or not, but I experience the same problems. ... I was storing a password in a session variable so ... authenticating using Forms Auth and using a trusted db connection was ... of Forms Auth and password in the connection string (stored in a session ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: [kde-linux] End Session problem
      ... but the 'End Session' worked perfectly. ... James take a look at Bug #33095 at http://qa.mandriva.com/ ... with Fedora 8 and an NVIDIA proprietaries, ... This message is from the kde-linux mailing list. ...
      (KDE)