CVE Catalog

CVE-2026-90152

Unknown
Published: Translated: NVD NIST

Summary

In the ksmbd module of the Linux kernel, ksmbd_session_register() fails to remove the session from sessions_table and drop its table reference when xa_store() fails. This causes a session leak because the reference count stays at 1 and the session is not freed.

Risk Assessment

Repeated failed session registrations can exhaust memory and server resources on an SMB server, causing denial of service.

Recommendation

Update the Linux kernel to a version with the fix that removes the session from sessions_table and drops its table reference if xa_store() fails.

Other vulnerabilities in Linux kernel (ksmbd)

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS