CVE-2026-98162CWE-401

CVE-2026-98162

Medium · published September 25, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
1.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

smb/server: fix tree connection leak in smb2_tree_connect()

See the procedure below:

smb2_tree_connect

ksmbd_tree_conn_connect

xa_store(&sess->tree_conns, tree_conn->id, tree_conn)

ksmbd_counter_inc(KSMBD_COUNTER_TREE_CONNS)

ksmbd_share_tree_conn_inc(sc)

ksmbd_iov_pin_rsp // fail

status.ret = KSMBD_TREE_CONN_STATUS_NOMEM

// do not disconnect tree_conn

Disconnect the new tree connection if ksmbd_iov_pin_rsp() fails.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00114 · 1.4th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2026-09-25T18:17Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15.145, < 5.165.16
linux/linux_kernel≥ 6.1.71, < 6.26.2
linux/linux_kernel≥ 6.6, < 7.2.67.2.6
References (4)
EPSS history
Timeline
  • 27 SEP 03:28Z
    EPSS moved — → 0%
    epss
  • 25 SEP 13:06Z
    smb/server: fix tree connection leak in smb2_tree_connect()
    cvelistv5