CVE-2026-90152
smb/server: fix session leak in ksmbd_session_register()
Check your servers for CVE-2026-90152
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-90152 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.88% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f623f627ad2b1dc215ab3b0df53fb05cfd3a1c3b, before 869807cdd5599c289c21d40f36a504d72a0d23c6 affected from f5c779b7ddbda30866cf2a27c63e34158f858c73, before 988f99bfddda4e2d1da5f6e98b237dd85e123cee affected from f5c779b7ddbda30866cf2a27c63e34158f858c73, before 03a22a003f41b182245e6c71fe565e277cff7094 affected from f5c779b7ddbda30866cf2a27c63e34158f858c73, before b967a595fb735d313a8676b2ca6a4cba38506482 affected from f5c779b7ddbda30866cf2a27c63e34158f858c73, before 55c677619084f9c9fa4146d933cc8ccafc924c87 affected from f5c779b7ddbda30866cf2a27c63e34158f858c73, before 99b25b046e47e4904373cfeb445c5483f1633d88 affected 708c304b583d789957399dd8237f212cf8ad1e4d affected d270631c21e68fb8016d6e231d022d7023a2df6f affected 02f41d88f15d6b7d523e52cc3f87488f57e9265b affected from 6.1.29, before 6.1.191 affected from 5.15.145, before 5.16 affected from 6.2.16, before 6.3 affected from 6.3.2, before 6.4
Other versions: unaffected
|
| Linux |
affected 6.4 unaffected before 6.4 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.52 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-90152 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90152
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-90152
trivy image --scanners vuln IMAGE | grep CVE-2026-90152
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/869807cdd5599c289c21d40f36a504d72a0d23c6 git.kernel.org
- https://git.kernel.org/stable/c/988f99bfddda4e2d1da5f6e98b237dd85e123cee git.kernel.org
- https://git.kernel.org/stable/c/03a22a003f41b182245e6c71fe565e277cff7094 git.kernel.org
- https://git.kernel.org/stable/c/b967a595fb735d313a8676b2ca6a4cba38506482 git.kernel.org
- https://git.kernel.org/stable/c/55c677619084f9c9fa4146d933cc8ccafc924c87 git.kernel.org
- https://git.kernel.org/stable/c/99b25b046e47e4904373cfeb445c5483f1633d88 git.kernel.org
Source: the record CVE-2026-90152 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse