# CVE-2026-23228: smb: server: fix leak of active\_num\_conn in ksmbd\_tcp\_new\_connection()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-18 · Modified: 2026-06-02
- Aliases: UBUNTU-CVE-2026-23228, DEBIAN-CVE-2026-23228
- Record: https://cvemate.com/vulnerability/CVE-2026-23228 · JSON: https://cvemate.com/vulnerability/CVE-2026-23228/json

## Description

```text
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().
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.142%, percentile 3.71%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 149)

- debian linux (Debian): \< 6.1.164-1 \| \< 6.12.73-1 \| \< 6.18.12-1
- ubuntu linux (Ubuntu): \< 5.15.0-186.196 \| \< 6.8.0-134.134 \| All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1112.119 \| \< 6.8.0-1060.63 \| All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1060.63~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119+fips1 \| \< 6.8.0-1060.63+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.126 \| \< 6.8.0-1063.71
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 37)

- <https://git.kernel.org/stable/c/6dd2645cf080a75be31fa66063c7332b291f46f0>
- <https://git.kernel.org/stable/c/7ddd69cd1338c6197e1b6b19cec60d99c8633e4f>
- <https://git.kernel.org/stable/c/787769c8cc50416af7b8b1a36e6bcd6aaa7680aa>
- <https://git.kernel.org/stable/c/baf664fc90a6139a39a58333e4aaa390c10d45dc>
- <https://git.kernel.org/stable/c/cd25e0d809531a67e9dd53b19012d27d2b13425f>
- <https://git.kernel.org/stable/c/599271110c35f6b16e2e4e45b9fbd47ed378c982>
- <https://git.kernel.org/stable/c/77ffbcac4e569566d0092d5f22627dfc0896b553>
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- <https://ubuntu.com/security/CVE-2026-23228>
- <https://www.cve.org/CVERecord?id=CVE-2026-23228>
- <https://ubuntu.com/security/notices/USN-8492-1>
- <https://ubuntu.com/security/notices/USN-8492-2>
- <https://ubuntu.com/security/notices/USN-8497-1>
- <https://ubuntu.com/security/notices/USN-8498-1>
- <https://ubuntu.com/security/notices/USN-8499-1>
- <https://ubuntu.com/security/notices/USN-8492-3>
- <https://ubuntu.com/security/notices/USN-8492-4>
- <https://ubuntu.com/security/notices/USN-8492-5>
- <https://ubuntu.com/security/notices/USN-8575-1>
- <https://ubuntu.com/security/notices/USN-8576-1>

---

Data as of 2026-12-05T04:47:19.109Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
