CVE-2026-90152
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | f5c779b7ddbda30866cf2a27c63e34158f858c73 < 03a22a003f41b182245e6c71fe565e277cff7094 | affected |
| Linux | Linux | f5c779b7ddbda30866cf2a27c63e34158f858c73 < b967a595fb735d313a8676b2ca6a4cba38506482 | affected |
| Linux | Linux | f5c779b7ddbda30866cf2a27c63e34158f858c73 < 55c677619084f9c9fa4146d933cc8ccafc924c87 | affected |
| Linux | Linux | f5c779b7ddbda30866cf2a27c63e34158f858c73 < 99b25b046e47e4904373cfeb445c5483f1633d88 | affected |
| Linux | Linux | 708c304b583d789957399dd8237f212cf8ad1e4d | affected |
| Linux | Linux | f623f627ad2b1dc215ab3b0df53fb05cfd3a1c3b | affected |
| Linux | Linux | d270631c21e68fb8016d6e231d022d7023a2df6f | affected |
| Linux | Linux | 02f41d88f15d6b7d523e52cc3f87488f57e9265b | affected |
| Linux | Linux | 5.15.145 < 5.16 | affected |
| Linux | Linux | 6.1.29 < 6.2 | affected |
| Linux | Linux | 6.2.16 < 6.3 | affected |
| Linux | Linux | 6.3.2 < 6.4 | affected |
| Linux | Linux | 6.4 | affected |
| Linux | Linux | 0 < 6.4 | unaffected |
| Linux | Linux | 6.12.110 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.52 <= 6.18.* | unaffected |
| Linux | Linux | 7.2.6 <= 7.2.* | unaffected |
| Linux | Linux | 7.3-rc1 <= * | unaffected |
Weaknesses
References
- 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
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.