What’s Vulnerable › Vulnerabilities

CVE-2026-23228: smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()

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

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

Get alerted when CVE-2026-23228 or the next vulnerability affects your stack