[Bug 3410] Since 8.9p1 MaxStartups >=1024, in sshd_config, causes "error: ppoll: Invalid argument"

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Mar 22 10:05:52 AEDT 2022


https://bugzilla.mindrot.org/show_bug.cgi?id=3410

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |djm at mindrot.org
             Blocks|                            |3395

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
This was fixed shortly after release in git master and the V_8_9 stable
branch:

commit 238ac091dd57316bc9690d9cc42229fe21ce0def
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Tue Mar 1 01:59:19 2022 +0000

    upstream: pack pollfd array before server_accept_loop() ppoll()

    call, and terminate sshd if ppoll() returns errno==EINVAL

    avoids spin in ppoll when MaxStartups > RLIMIT_NOFILE, reported by
    Daniel Micay

    feedback/ok deraadt

    OpenBSD-Commit-ID: dbab1c24993ac977ec24d83283b8b7528f7c2c15


Referenced Bugs:

https://bugzilla.mindrot.org/show_bug.cgi?id=3395
[Bug 3395] Tracking bug for openssh-9.0
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list