Bug 2563077
| Summary: | proftpd: mod_sftp leaks an fd per SFTPHostKey on every reload (upstream #1959) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Gary T. Giesen <ggiesen> | ||||
| Component: | proftpd | Assignee: | Paul Howarth <paul> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | epel9 | CC: | kristian.marcroft, paul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | proftpd-1.3.8d-5.el9 | Doc Type: | --- | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2026-11-19 01:25:25 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Gary T. Giesen
2026-10-28 17:57:02 UTC
Created attachment 2162390 [details]
Backport of the upstream #1959 fix to 1.3.8d
FEDORA-EPEL-2026-4b9f963588 (proftpd-1.3.8d-5.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-4b9f963588 This update includes your patch (thanks) plus some other upstream fixes for a few CVEs, one of which is in mod_sftp, so it would be good to confirm that sftp still works OK for you. FEDORA-EPEL-2026-4b9f963588 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-4b9f963588 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Tested in AlmaLinux 9.8 containers against 1.3.8d-4.el9, using the configuration from our production servers: mod_sftp with mod_sftp_pam, the three OpenSSH-format host keys from /etc/ssh plus an extra PEM ECDSA P-384 key, and mod_tls. - fd leak (bug 2563077): with -5 the master stays at 6 fds after 10 SIGHUPs; with -4 it goes from 9 to 39. - SFTP upload and download with matching checksums using each of ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384 (the PEM key), rsa-sha2-512 and rsa-sha2-256, with keyboard-interactive (PAM) and password auth. SCP (scp -O) and FTPS (TLS 1.3) also work. All of it was run again after the reloads with the same results. - copy-file (CVE-2026-119147): copy-file into a directory under <Limit WRITE> DenyAll succeeds with -4 and is refused with -5. copy-file to a writable location still works. We don't load mod_copy or mod_rewrite, so I haven't tested those fixes. Thanks for including the patch. Thanks so much for your thorough testing! FEDORA-EPEL-2026-4b9f963588 (proftpd-1.3.8d-5.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report. |