CVE-2026-90152

smb/server: fix session leak in ksmbd_session_register()

N/A
Published: September 17, 2026 at 04:06 PM UTC
Updated: October 21, 2026 at 01:20 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

02f41d88f15d6b7d523e52cc3f87488f57e9265b2f41d88f15d6b7d523e52cc3f87488f57e9265b5.15.1456.1.296.2.166.3.26.4708c304b583d789957399dd8237f212cf8ad1e4dd270631c21e68fb8016d6e231d022d7023a2df6ff5c779b7ddbda30866cf2a27c63e34158f858c73f623f627ad2b1dc215ab3b0df53fb05cfd3a1c3b
Vendor states this is fixed in 03a22a003f41b182245e6c71fe565e277cff7094 (fixed)
Vendor states this is fixed in 55c677619084f9c9fa4146d933cc8ccafc924c87 (fixed)
Vendor states this is fixed in 99b25b046e47e4904373cfeb445c5483f1633d88 (fixed)
Vendor states this is fixed in b967a595fb735d313a8676b2ca6a4cba38506482 (fixed)
Affected range stops below 5.16, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.12.110 (unaffected)
Vendor states this is fixed in 6.18.52 (unaffected)
Affected range stops below 6.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.3, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.4 (unaffected)
Vendor states this is fixed in 6.6.160 (unaffected)
Vendor states this is fixed in 7.2.6 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card