| Summary: | Since 8.9p1 MaxStartups >=1024, in sshd_config, causes "error: ppoll: Invalid argument" | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | for.github.20200406 |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | djm |
| Priority: | P5 | ||
| Version: | 8.9p1 | ||
| Hardware: | amd64 | ||
| OS: | Linux | ||
| Bug Depends on: | |||
| Bug Blocks: | 3395 | ||
|
Description
for.github.20200406
2022-03-22 01:24:54 AEDT
This was fixed shortly after release in git master and the V_8_9 stable branch: commit 238ac091dd57316bc9690d9cc42229fe21ce0def Author: djm@openbsd.org <djm@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 closing bug resolved during openssh-9.0 release cycle |