CVE-2026-135111: Samba: samba4: smbd listener counts a failed fork as a child and exhausts max smbd processes

Published Nov 24, 2026
·
Updated

An incorrect child count after a failed fork issue has been found in the smbdacceptconnection() function in source3/smbd/server.c of the smbd listener in the Samba package. The parent stores each failed attempt to create a worker in its list of children. The handler that runs when a child exits removes a process the kernel reports. A failed creation has no process for that handler to remove. A network attacker or user can open connections to the file server while the host cannot create another process. Each failed creation stays in the parent's count of children. When an administrator has set a maximum number of smbd processes, and the count reaches that maximum, the listener closes later connections and leaves those clients without a worker. The count remains after the host can create processes again, so clients stay unable to connect until smbd is restarted.

Other sources

Samba : smbd parent counts failed fork() (pid -1) as a child, "max smbd processes" limit permanently exhausted

— Red Hat

Affected Software

1 affected component
Samba Samba

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Operational

    Restart smbd to restore client connections after the child count has become stuck.

Event History

Nov 24, 2026
Data Sourced
via Red Hat·11:02 AM
DescriptionSeverityAffected Software
Dec 1, 2026
CVE Published
via MITRE·01:01 PM
Data Sourced
via MITRE·01:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203