CVE-2026-135111

NameCVE-2026-135111
DescriptionAn **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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
samba (PTS)bookworm, bookworm (security)2:4.17.12+dfsg-0+deb12u4vulnerable
trixie2:4.22.11+dfsg-0+deb13u1vulnerable
trixie (security)2:4.22.10+dfsg-0+deb13u2vulnerable
forky2:4.25.1+dfsg-1vulnerable
sid2:4.25.2+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sambasource(unstable)2:4.25.2+dfsg-1

Notes

[trixie] - samba <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2583142
https://bugzilla.samba.org/show_bug.cgi?id=16328
https://gitlab.com/samba-team/samba/-/merge_requests/4872
https://gitlab.com/samba-team/samba/-/commit/bec3630c643f581a10132e61400d960d17eb960e (master)
https://gitlab.com/samba-team/samba/-/commit/a83c8284d7f8db9d9b0366438d5e587cbbb615c4 (samba-4.25.2)

Search for package or bug name: Reporting problems