CVE-2026-90152
smb/server: fix session leak in ksmbd_session_register()
- State
- Published
- Severity
- Not scored
- Published
- Sep 17, 2026
- Updated
- Oct 30, 2026
- Reserved
- Sep 11, 2026
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/869807cdd5599c289c21d40f36a504d72a0d23c6
- https://git.kernel.org/stable/c/988f99bfddda4e2d1da5f6e98b237dd85e123cee
- https://git.kernel.org/stable/c/03a22a003f41b182245e6c71fe565e277cff7094
- https://git.kernel.org/stable/c/b967a595fb735d313a8676b2ca6a4cba38506482
- https://git.kernel.org/stable/c/55c677619084f9c9fa4146d933cc8ccafc924c87
- https://git.kernel.org/stable/c/99b25b046e47e4904373cfeb445c5483f1633d88
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.