Junglewise Threat Intelligence

CVE-2026-23228: Linux kernel resource leak in ksmbd SMB server

CVE-2026-23228 · Severity: medium · CVSS 5.5 · Published 2026-02-18

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's SMB server component (ksmbd) could allow a local user to cause a denial-of-service condition. By triggering specific connection failures, an attacker can cause the system to incorrectly track active connections, eventually preventing new legitimate connections from being established. This affects systems using the ksmbd module for file sharing.

Technical details

A memory/resource leak exists in ksmbd_tcp_new_connection() within the Linux kernel's SMB server. When kthread_run() fails during the creation of a new TCP connection, the system calls free_transport() instead of ksmbd_tcp_disconnect(). This results in a failure to decrement the 'active_num_conn' counter. An attacker with local access can repeatedly trigger this failure path to artificially inflate the connection count until it reaches the maximum allowed limit, effectively blocking all subsequent SMB connections. The issue has been resolved by ensuring the proper disconnect function is called to manage the counter correctly.

Affected products

  • Linux Linux kernel 5.15.91 to 5.15.201, 6.1.9 to 6.1.164, 6.2.1 to 6.6.125, 6.7 to 6.12.72, 6.13 to 6.18.11, 6.19 to 6.19.1

Timeline

  • 2026-02-18: disclosed
  • 2026-02-18: advisory

References

Related threats