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.
Published: 2026-12-01
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Workaround

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Dec 2026 13:15:00 +0000

Type Values Removed Values Added
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.
Title Samba: samba4: smbd listener counts a failed fork as a child and exhausts max smbd processes
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
Weaknesses CWE-772
CPEs cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Redhat Enterprise Linux Openshift Rhel Els
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-12-01T13:01:47.224Z

Reserved: 2026-11-23T12:08:09.096Z

Link: CVE-2026-135111

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses