CVE-2026-135111
published medium CVSS 3.1 · 5.9Samba: samba4: smbd listener counts a failed fork as a child and exhausts max smbd processes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Samba | — | sambaSamba · 3.4.0 and later · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 7, 8, 9, 10 | samba | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | samba | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | samba4 | Unknown | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-10Red Hat OpenShift Container Platform 5 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 5 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Samba | Samba | 3.4.0 and later (affected · semver)Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
Weaknesses
1- CWE-772 Missing Release of Resource after Effective Lifetime
References
6- https://access.redhat.com/security/cve/CVE-2026-135111
- RHBZ#2583142 https://bugzilla.redhat.com/show_bug.cgi?id=2583142
- 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
Provider assertions
2redhat · cna
Samba: samba4: smbd listener counts a failed fork as a child and exhausts max smbd processes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1edbc1d90b9a42d040b4c154b4896c4b30ab0a842198b3056d38825b4e3426be
- Ingested
- 01 Dec 2026, 15:32:52 UTC
- Source record
- Official CVE record