What’s Vulnerable › Vulnerabilities
CVE-2026-23228: smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-18 · updated 2026-06-17
- Weakness: CWE-401
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().
Affected products
- 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 — fixed in 5.15.201, 6.1.164, 6.12.72, 6.18.11, 6.19.1, 6.6.125
How to fix
Upgrade to a fixed version: Linux kernel 5.15.201, 6.1.164, 6.12.72, 6.18.11. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/599271110c35f6b16e2e4e45b9fbd47ed378c982
- https://git.kernel.org/stable/c/6dd2645cf080a75be31fa66063c7332b291f46f0
- https://git.kernel.org/stable/c/77ffbcac4e569566d0092d5f22627dfc0896b553
- https://git.kernel.org/stable/c/787769c8cc50416af7b8b1a36e6bcd6aaa7680aa
- https://git.kernel.org/stable/c/7ddd69cd1338c6197e1b6b19cec60d99c8633e4f
- https://git.kernel.org/stable/c/baf664fc90a6139a39a58333e4aaa390c10d45dc
- https://git.kernel.org/stable/c/cd25e0d809531a67e9dd53b19012d27d2b13425f
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html
Get alerted when CVE-2026-23228 or the next vulnerability affects your stack