What’s Vulnerable › Vulnerabilities
CVE-2026-90152: smb/server: fix session leak in ksmbd_session_register()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-17 · updated 2026-10-30
Description
In the Linux kernel, the following vulnerability has been resolved: smb/server: fix session leak in ksmbd_session_register() See the procedure below: smb2_sess_setup ksmbd_smb2_session_create __session_create atomic_set(&sess->refcnt, 2) hash_add(sessions_table, &sess->hlist, sess->id) ksmbd_session_register xa_store(&conn->sessions, sess->id, sess) // fail ksmbd_user_session_put atomic_dec(&sess->refcnt) // refcnt is 1, session is not freed Remove the session from sessions_table and drop its table reference if xa_store() fails.
Affected products
- Linux: from 6.1.29 before 6.1.191; from 5.15.145 before 5.16; from 6.2.16 before 6.3; from 6.3.2 before 6.4 — fixed in 6.1.191, 5.16, 6.3, 6.4
How to fix
Upgrade to a fixed version: Linux 6.1.191, 5.16, 6.3, 6.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/03a22a003f41b182245e6c71fe565e277cff7094
- https://git.kernel.org/stable/c/55c677619084f9c9fa4146d933cc8ccafc924c87
- https://git.kernel.org/stable/c/869807cdd5599c289c21d40f36a504d72a0d23c6
- https://git.kernel.org/stable/c/988f99bfddda4e2d1da5f6e98b237dd85e123cee
- https://git.kernel.org/stable/c/99b25b046e47e4904373cfeb445c5483f1633d88
- https://git.kernel.org/stable/c/b967a595fb735d313a8676b2ca6a4cba38506482
Get alerted when CVE-2026-90152 or the next vulnerability affects your stack