CVE-2026-98162

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

Description

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.

Key facts

Published
25 Sep 2026
Last changed
21 Oct 2026
Assigned by
Linux
EPSS
0.114% likely to be exploited in the next 30 days, higher than 1.502% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d up to but excluding fa0c45986fc60b3edfb35879f2fb0eacc0e49e98 (affected)
  • e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d up to but excluding fea9c705bbc618ba6426424c9f8330555820c9ec (affected)
  • e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d up to but excluding a6c88e5e3a75f1e4a98ad4bc4037465ccd7925bc (affected)
  • e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d up to but excluding 39f2032096715daae5f6fd0f587ca7a474b019df (affected)
  • f2283680a80571ca82d710bc6ecd8f8beac67d63 (affected)
  • 9f297df20d93411c0b4ddad7f88ba04a7cd36e77 (affected)
  • 5.15.145 up to but excluding 5.16 (affected)
  • 6.1.71 up to but excluding 6.2 (affected)
LinuxLinux
  • Default status: affected
  • 6.6 (affected)
  • 0 up to but excluding 6.6 (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.18.57 up to and including 6.18.* (unaffected)
  • 7.2.6 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References