smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()
Summary
| CVE | CVE-2026-23228 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-02-18 16:22:32 UTC |
| Updated | 2026-06-02 14:16:47 UTC |
| 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(). |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-401
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 4210c3555db4b38bade92331b153e583261f05f9 6dd2645cf080a75be31fa66063c7332b291f46f0 git | Not specified |
| CNA | Linux | Linux | affected d5d7847e57ac69fa99c18b363a34419bcdb5a281 7ddd69cd1338c6197e1b6b19cec60d99c8633e4f git | Not specified |
| CNA | Linux | Linux | affected 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 787769c8cc50416af7b8b1a36e6bcd6aaa7680aa git | Not specified |
| CNA | Linux | Linux | affected 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 baf664fc90a6139a39a58333e4aaa390c10d45dc git | Not specified |
| CNA | Linux | Linux | affected 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 cd25e0d809531a67e9dd53b19012d27d2b13425f git | Not specified |
| CNA | Linux | Linux | affected 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 599271110c35f6b16e2e4e45b9fbd47ed378c982 git | Not specified |
| CNA | Linux | Linux | affected 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 77ffbcac4e569566d0092d5f22627dfc0896b553 git | Not specified |
| CNA | Linux | Linux | affected 5.15.91 5.15.201 semver | Not specified |
| CNA | Linux | Linux | affected 6.1.9 6.1.164 semver | Not specified |
| CNA | Linux | Linux | affected 6.2 | Not specified |
| CNA | Linux | Linux | unaffected 6.2 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.201 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.164 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.125 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.72 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.11 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.1 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V4.0 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/599271110c35f6b16e2e4e45b9fbd47ed378c982 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/cd25e0d809531a67e9dd53b19012d27d2b13425f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/77ffbcac4e569566d0092d5f22627dfc0896b553 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-253495.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/787769c8cc50416af7b8b1a36e6bcd6aaa7680aa | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/6dd2645cf080a75be31fa66063c7332b291f46f0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7ddd69cd1338c6197e1b6b19cec60d99c8633e4f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/baf664fc90a6139a39a58333e4aaa390c10d45dc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.