What happened
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.
Affected versions
Linux: e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d through before a6c88e5e3a75f1e4a98ad4bc4037465ccd7925bc (git); e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d through before 39f2032096715daae5f6fd0f587ca7a474b019df (git); f2283680a80571ca82d710bc6ecd8f8beac67d63 (git); 9f297df20d93411c0b4ddad7f88ba04a7cd36e77 (git); 5.15.145 through before 5.16 (semver); 6.1.71 through before 6.2 (semver); 6.6 Fixed: See vendor advisory.
Why it matters
Review the vendor advisory and exposure of the affected product to determine operational impact.
Detection & mitigation
- Apply vendor-provided updates or mitigations.
- Review affected product exposure and access logs.
Public PoC references
No public PoC reference has passed the current publication threshold.