CVE-2026-23228
smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.201, 6.1.164
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5.15.91 · fixed in 5.15.201; From 6.1.9 · fixed in 6.1.164
- Linux Linux
6.2
References 7
git.kernel.org
- stable/c/6dd2645cf080a75be31fa66063c7332b291f46f0
- stable/c/7ddd69cd1338c6197e1b6b19cec60d99c8633e4f
- stable/c/787769c8cc50416af7b8b1a36e6bcd6aaa7680aa
- stable/c/baf664fc90a6139a39a58333e4aaa390c10d45dc
- stable/c/cd25e0d809531a67e9dd53b19012d27d2b13425f
- stable/c/599271110c35f6b16e2e4e45b9fbd47ed378c982
- stable/c/77ffbcac4e569566d0092d5f22627dfc0896b553