CVE-2026-98162
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d < a6c88e5e3a75f1e4a98ad4bc4037465ccd7925bc | affected |
| Linux | Linux | e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d < 39f2032096715daae5f6fd0f587ca7a474b019df | affected |
| Linux | Linux | f2283680a80571ca82d710bc6ecd8f8beac67d63 | affected |
| Linux | Linux | 9f297df20d93411c0b4ddad7f88ba04a7cd36e77 | affected |
| Linux | Linux | 5.15.145 < 5.16 | affected |
| Linux | Linux | 6.1.71 < 6.2 | affected |
| Linux | Linux | 6.6 | affected |
| Linux | Linux | 0 < 6.6 | unaffected |
| Linux | Linux | 7.2.6 <= 7.2.* | unaffected |
| Linux | Linux | 7.3-rc1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/a6c88e5e3a75f1e4a98ad4bc4037465ccd7925bc
- https://git.kernel.org/stable/c/39f2032096715daae5f6fd0f587ca7a474b019df
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.