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.
from f5c779b7ddbda30866cf2a27c63e34158f858c73 before 988f99bfddda4e2d1da5f6e98b237dd85e123cee; from f5c779b7ddbda30866cf2a27c63e34158f858c73 before 03a22a003f41b182245e6c71fe565e277cff7094; from f5c779b7ddbda30866cf2a27c63e34158f858c73 before b967a595fb735d313a8676b2ca6a4cba38506482; from f5c779b7ddbda30866cf2a27c63e34158f858c73 before 55c677619084f9c9fa4146d933cc8ccafc924c87; from f5c779b7ddbda30866cf2a27c63e34158f858c73 before 99b25b046e47e4904373cfeb445c5483f1633d88; 708c304b583d789957399dd8237f212cf8ad1e4d; f623f627ad2b1dc215ab3b0df53fb05cfd3a1c3b; d270631c21e68fb8016d6e231d022d7023a2df6f; and 5 more ranges
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.
Printed from infosecsignals.com. Every record links back to the agency that published it.
Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.