# CVE-2026-23228: smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-02-18T14:53:31.882Z
- Modified: 2026-06-17T10:21:08.550Z
- Weaknesses: CWE-401
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 4210c3555db4b38bade92331b153e583261f05f9 before 6dd2645cf080a75be31fa66063c7332b291f46f0; from d5d7847e57ac69fa99c18b363a34419bcdb5a281 before 7ddd69cd1338c6197e1b6b19cec60d99c8633e4f; from 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 before 787769c8cc50416af7b8b1a36e6bcd6aaa7680aa; from 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 before baf664fc90a6139a39a58333e4aaa390c10d45dc; from 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 before cd25e0d809531a67e9dd53b19012d27d2b13425f; from 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 before 599271110c35f6b16e2e4e45b9fbd47ed378c982; from 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 before 77ffbcac4e569566d0092d5f22627dfc0896b553; from 5.15.91 before 5.15.201; from 6.1.9 before 6.1.164; 6.2 (not affected: before 6.2; from 5.15.201 up to 5.15.*; from 6.1.164 up to 6.1.*; from 6.6.125 up to 6.6.*; from 6.12.72 up to 6.12.*; from 6.18.11 up to 6.18.*; from 6.19.1 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.15.91 before 5.15.201; from 6.1.9 before 6.1.164; from 6.2.1 before 6.6.125; from 6.7 before 6.12.72; from 6.13 before 6.18.11; from 6.19 before 6.19.1; 6.2

## References

- <https://git.kernel.org/stable/c/6dd2645cf080a75be31fa66063c7332b291f46f0> (patch)
- <https://git.kernel.org/stable/c/7ddd69cd1338c6197e1b6b19cec60d99c8633e4f> (patch)
- <https://git.kernel.org/stable/c/787769c8cc50416af7b8b1a36e6bcd6aaa7680aa> (patch)
- <https://git.kernel.org/stable/c/baf664fc90a6139a39a58333e4aaa390c10d45dc> (patch)
- <https://git.kernel.org/stable/c/cd25e0d809531a67e9dd53b19012d27d2b13425f> (patch)
- <https://git.kernel.org/stable/c/599271110c35f6b16e2e4e45b9fbd47ed378c982> (patch)
- <https://git.kernel.org/stable/c/77ffbcac4e569566d0092d5f22627dfc0896b553> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Sources

- CVE List: [CVE-2026-23228](https://www.cve.org/CVERecord?id=CVE-2026-23228), CVE Terms of Use, modified 2026-06-02
- NVD: [CVE-2026-23228](https://nvd.nist.gov/vuln/detail/CVE-2026-23228), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23228 · Whole record: https://cve.day/CVE-2026-23228.json · Rebuilt by cve.day 2026-11-25T22:59:13.998Z
