5.5Medium

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

Linux Linux; Siemens RUGGEDCOM RST2428P Published: (9 months ago)

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().

Weakness (CWE): CWE-401

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Linux Linux 5.15.91 – < 5.15.201, 6.1.9 – < 6.1.164
linux linux kernel 5.15.91 – < 5.15.201
Siemens RUGGEDCOM RST2428P < V4.0

References and patches

CPE matches (NVD) (10)

  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.15.91 < 5.15.201
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.1.9 < 6.1.164
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.2.1 < 6.6.125
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.7 < 6.12.72
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.13 < 6.18.11
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.19 < 6.19.1
  • cpe:2.3:o:linux:linux_kernel:6.2:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.2:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.2:rc8:*:*:*:*:*:*