Samba: samba4: smbd listener counts a failed fork as a child and exhausts max smbd processes
Summary
| CVE | CVE-2026-135111 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-01 13:17:11 UTC |
| Updated | 2026-12-01 16:18:14 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-772 | CWE-772 Missing Release of Resource after Effective Lifetime
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Samba | Samba | affected 3.4.0 * semver | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 5 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 5 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| gitlab.com/samba-team/samba/-/commit/a83c8284d7f8db9d9b0366438d5e587cbbb... | [email protected] | gitlab.com | |
| bugzilla.samba.org/show_bug.cgi | [email protected] | bugzilla.samba.org | |
| access.redhat.com/security/cve/CVE-2026-135111 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| gitlab.com/samba-team/samba/-/commit/bec3630c643f581a10132e61400d960d17e... | [email protected] | gitlab.com | |
| gitlab.com/samba-team/samba/-/merge_requests/4872 | [email protected] | gitlab.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Muhammad Daffa for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-24T10:58:07.500Z | Reported to Red Hat. |
| CNA | 2026-11-21T08:53:02.000Z | Made public. |
Workarounds
CNA: Red Hat is not aware of a practical temporary workaround that fully mitigates this issue or meets Red Hat Product Security's standards for usability, deployment, applicability, or stability.
There are currently no legacy QID mappings associated with this CVE.