AZL-117473: CVE-2026-135111 affecting package samba 4.18.3-2
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Operational
Restart smbd to clear the stale child count and restore client connections.
Event History
Frequently Asked Questions
Which deployments are exposed to this denial-of-service condition?
Samba file servers are exposed when an administrator has configured a maximum number of smbd processes and the host is unable to create additional worker processes. Attackers or users able to open connections to the file server can trigger failed worker creation attempts during that condition.
Does this affect a default Samba configuration?
The available information identifies the maximum smbd process limit as a required condition, but does not state whether that limit is configured by default. Systems without such an administrator-set maximum are not identified as affected by this condition.
What can be done if clients are already unable to obtain workers?
Restart smbd. The stale child count persists even after the host can create processes again, and the description states that clients remain unable to connect until smbd is restarted.