CVE-2026-135111
JSON

5.9medium

Samba: samba4: smbd listener counts a failed fork as a child and exhausts max smbd processes

Severity
5.9medium CVSS:3.1 by redhat
Published
Last changed
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.

Affected

Product or packageVersionsReported by
sambafrom 3.4.0 before *CVE List
samba4Not specifiedCVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
openshift/ose-rhel-coreos-10Not specifiedCVE List

Classification

CWE-772

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-135111 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-135111 changed 2026-12-01Public domain