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

- Severity: Medium 5.9 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T13:01:47.224Z
- Modified: 2026-12-01T16:18:14.940Z
- Weaknesses: CWE-772
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

An **incorrect child count after a failed fork** issue has been found in the smbd_accept_connection() 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.

(As written by CVE List.)

## Affected

- samba: from 3.4.0 before *
- samba4: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- openshift/ose-rhel-coreos-10: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-135111> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2583142> (issue-tracking)
- <https://bugzilla.samba.org/show_bug.cgi?id=16328>
- <https://gitlab.com/samba-team/samba/-/commit/a83c8284d7f8db9d9b0366438d5e587cbbb615c4>
- <https://gitlab.com/samba-team/samba/-/commit/bec3630c643f581a10132e61400d960d17eb960e>
- <https://gitlab.com/samba-team/samba/-/merge_requests/4872>

## Sources

- CVE List: [CVE-2026-135111](https://www.cve.org/CVERecord?id=CVE-2026-135111), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-135111](https://nvd.nist.gov/vuln/detail/CVE-2026-135111), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-135111 · Whole record: https://cve.day/CVE-2026-135111.json · Rebuilt by cve.day 2026-12-01T16:32:19.756Z
