CVE Catalog

CVE-2026-98162

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the smb2_tree_connect() function of the SMB server (ksmbd) leaks a tree connection. When ksmbd_iov_pin_rsp() fails, the newly created tree connection is not disconnected, leading to a resource leak.

Risk Assessment

The tree connection leak can gradually exhaust SMB server resources and ultimately lead to denial of service (DoS).

Recommendation

Update the Linux kernel to a version containing the fix that disconnects the new tree connection when ksmbd_iov_pin_rsp() fails.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS