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

Summary

CVECVE-2026-23228
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-02-18 16:22:32 UTC
Updated2026-06-02 14:16:47 UTC
DescriptionIn 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
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report