Vulnerability DatabaseCVE-2026-135111

CVE-2026-135111: 
Samba vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Exploitation steps

  1. Reconnaissance: Identify Samba file servers (smbd) exposed on the network, particularly those running versions 3.4.0 or later. Confirm whether max smbd processes is set to a non-zero value (this is a non-default configuration).
  2. Trigger process exhaustion: Cause the target host to reach a state where 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).
  3. Open connections during failure window: While the host cannot create new processes, open multiple SMB connections to the Samba server. Each failed fork() attempt increments the parent's child counter without a corresponding cleanup mechanism.
  4. Exhaust the child count: Continue opening connections until the internal child count reaches the configured max smbd processes limit.
  5. Maintain denial-of-service: Once the limit is reached, the smbd listener will reject all new connections. This condition persists even after the host recovers process creation capability, until an administrator manually restarts smbd (Red Hat Advisory).

Indicators of compromise

  • Logs: Samba log files (typically /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.
  • Network: Unusual volume of SMB connection attempts (TCP port 445 or 139) from one or more source IPs during a period of system resource pressure.
  • Process: 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.
  • System: Evidence of process table exhaustion (e.g., high process counts, EAGAIN errors in system logs) coinciding with the onset of SMB connection failures (Red Hat Advisory).

Mitigation and workarounds

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).

Community reactions

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).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Unknown

bionic (esm-infra)

samba

Unknown

devel

samba

Unknown

focal (esm-infra)

samba

Unknown

jammy

samba

Unknown

noble

samba

Unknown

resolute

samba

Unknown

trusty (esm-infra-legacy)

samba

Unknown

xenial (esm-infra-legacy)

samba

Unknown

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-8

Affected

RHEL 8

samba.src

Affected

RHEL 9

samba.src

Affected

RHEL 10

samba.src

Affected

Source: This report was generated using AI

Related Samba vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-135109HIGH7.5
  • Samba logoSamba
  • samba-tools
NoNoDec 04, 2026
CVE-2026-125628HIGH7.5
  • Samba logoSamba
  • ctdb-ceph-mutex
NoYesNov 30, 2026
CVE-2026-120376MEDIUM5.9
  • Samba logoSamba
  • ldb-tools
NoNoDec 04, 2026
CVE-2026-135111MEDIUM5.9
  • Samba logoSamba
  • ctdb-pcp-pmda
NoYesDec 01, 2026
CVE-2026-120377NONEN/A
  • Samba logoSamba
  • samba
NoYesDec 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management