
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-135111 is a denial-of-service vulnerability in the Samba package caused by an incorrect child count after a failed fork() call in the smbd_accept_connection() function within source3/smbd/server.c. When the host cannot create a new worker process, the failed attempt is incorrectly added to the parent's child count but never removed (since no real process exists for the exit handler to clean up). This allows a network attacker to exhaust the configured max smbd processes limit, preventing legitimate clients from connecting until smbd is restarted. The vulnerability affects Samba versions from 3.4.0 onward, with Samba 4.25.2 being the first corrected release. It carries a CVSS v3.1 base score of 5.9 (Medium) (Red Hat Advisory, Feedly).
The root cause is classified as CWE-772 (Missing Release of Resource after Effective Lifetime). In smbd_accept_connection(), after a fork() call returns -1 (failure), the parent process increments its child counter and stores the failed attempt as if it were a real child. However, the smbd_sig_chld_handler() signal handler — which decrements the counter when a child exits — is never triggered for a failed fork because no process was created. The vulnerable code path was introduced in Samba 3.4.0 and persisted through a rewrite of the accept-loop in commit e0232934fbf. Exploitation requires that an administrator has configured a non-zero max smbd processes value, and that the attacker can open connections to the file server during periods when the host is temporarily unable to create new processes (e.g., due to process limit exhaustion or memory pressure) (Red Hat Advisory, Samba GitLab MR).
Successful exploitation results in a persistent denial-of-service condition affecting Samba's SMB file sharing and authentication services. Once the child count reaches the configured max smbd processes limit, the listener rejects all new client connections — and critically, this condition persists even after the host recovers the ability to create processes, until smbd is manually restarted. There is no confidentiality or integrity impact; the vulnerability is purely an availability issue. Affected deployments include Red Hat Enterprise Linux 6–10, Red Hat OpenShift, and Red Hat In-Vehicle Operating System, all of which ship the vulnerable Samba listener (Red Hat Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, and NVD's SSVC assessment indicates exploitation is not automated and technical impact is partial (Feedly). Exploitation requires a specific non-default configuration (max smbd processes set to a non-zero value) and a transient condition where the host cannot create new processes, making opportunistic exploitation difficult. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The vulnerability was reported by Muhammad Daffa and disclosed on December 1, 2026 (Red Hat Advisory).
max smbd processes is set to a non-zero value (this is a non-default configuration).fork() fails — for example, by exhausting the system's process limit (e.g., via a separate resource exhaustion attack or by exploiting existing system constraints such as low memory or ulimit settings).fork() attempt increments the parent's child counter without a corresponding cleanup mechanism.max smbd processes limit./var/log/samba/log.smbd) showing repeated messages about connection rejections or maximum process limit reached; system logs (/var/log/messages or journalctl) showing fork() failure errors from smbd.smbd parent process child count at or near the configured max smbd processes value while the number of actual running smbd worker processes is significantly lower; new SMB client connections failing despite apparent system availability.EAGAIN errors in system logs) coinciding with the onset of SMB connection failures (Red Hat Advisory).Samba 4.25.2 is the first upstream release that corrects the vulnerable accept path (Red Hat Advisory, Samba GitLab MR). Red Hat has stated that no practical temporary workaround fully mitigates this issue. As a configuration-based risk reduction measure, administrators who have not explicitly set max smbd processes to a non-zero value are not exposed, since the default value of 0 disables the limit and keeps the listener accepting connections. Administrators should audit their smb.conf for any non-zero max smbd processes setting and consider removing it until a patched package is available. Red Hat Enterprise Linux 6–10 and associated products (OpenShift, In-Vehicle OS) remain affected pending vendor patch releases (Red Hat Advisory).
Red Hat Product Security rated this vulnerability as Moderate overall, but assigned a Low severity rating specifically for Red Hat Enterprise Linux, Red Hat OpenShift, and Red Hat In-Vehicle Operating System deployments where max smbd processes defaults to 0. Red Hat acknowledged the reporter, Muhammad Daffa, in their advisory. The vulnerability was tracked internally via Red Hat Bugzilla bug 2583142, filed on November 24, 2026, and publicly disclosed on December 1, 2026 (Red Hat Advisory, Red Hat Bugzilla).
Fix availability across major Linux distributions and their releases.
bionic (esm-infra)
samba
devel
samba
focal (esm-infra)
samba
jammy
samba
noble
samba
resolute
samba
trusty (esm-infra-legacy)
samba
xenial (esm-infra-legacy)
samba
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."