CVE-2026-23228

smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()

No CVSS score yet EPSS 0.14%

Published 18 Feb 2026 Updated 2 Jun 2026 CNA: Linux

Check your servers for CVE-2026-23228

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23228 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()

On kthread_run() failure in ksmbd_tcp_new_connection(), the transport is freed via free_transport(), which does not decrement active_num_conn, leaking this counter.

Replace free_transport() with ksmbd_tcp_disconnect().

Exploitation

EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.74% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 4210c3555db4b38bade92331b153e583261f05f9, before 6dd2645cf080a75be31fa66063c7332b291f46f0
affected from d5d7847e57ac69fa99c18b363a34419bcdb5a281, before 7ddd69cd1338c6197e1b6b19cec60d99c8633e4f
affected from 0d0d4680db22eda1eea785c47bbf66a9b33a8b16, before 787769c8cc50416af7b8b1a36e6bcd6aaa7680aa
affected from 0d0d4680db22eda1eea785c47bbf66a9b33a8b16, before baf664fc90a6139a39a58333e4aaa390c10d45dc
affected from 0d0d4680db22eda1eea785c47bbf66a9b33a8b16, before cd25e0d809531a67e9dd53b19012d27d2b13425f
affected from 0d0d4680db22eda1eea785c47bbf66a9b33a8b16, before 599271110c35f6b16e2e4e45b9fbd47ed378c982
affected from 0d0d4680db22eda1eea785c47bbf66a9b33a8b16, before 77ffbcac4e569566d0092d5f22627dfc0896b553
affected from 5.15.91, before 5.15.201
affected from 6.1.9, before 6.1.164
Other versions: unaffected
Linux
affected 6.2
unaffected before 6.2
unaffected from 5.15.201 up to and including 5.15.*
unaffected from 6.1.164 up to and including 6.1.*
unaffected from 6.6.125 up to and including 6.6.*
unaffected from 6.12.72 up to and including 6.12.*
unaffected from 6.18.11 up to and including 6.18.*
unaffected from 6.19.1 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23228 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23228

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-23228
trivy image --scanners vuln IMAGE | grep CVE-2026-23228

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-23228 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.