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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:06:45.641Z
- **Modified:** 2026-10-30T13:20:43.723Z

## Who should check

- Anyone running Linux \>= f623f627ad2b1dc215ab3b0df53fb05cfd3a1c3b, \< 869807cdd5599c289c21d40f36a504d72a0d23c6; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 988f99bfddda4e2d1da5f6e98b237dd85e123cee; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 03a22a003f41b182245e6c71fe565e277cff7094; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< b967a595fb735d313a8676b2ca6a4cba38506482; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 55c677619084f9c9fa4146d933cc8ccafc924c87; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 99b25b046e47e4904373cfeb445c5483f1633d88; 708c304b583d789957399dd8237f212cf8ad1e4d; d270631c21e68fb8016d6e231d022d7023a2df6f; 02f41d88f15d6b7d523e52cc3f87488f57e9265b; \>= 6.1.29, \< 6.1.191; …
- Anyone running Linux 6.4

## 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 and fixed versions

- Linux: \>= f623f627ad2b1dc215ab3b0df53fb05cfd3a1c3b, \< 869807cdd5599c289c21d40f36a504d72a0d23c6; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 988f99bfddda4e2d1da5f6e98b237dd85e123cee; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 03a22a003f41b182245e6c71fe565e277cff7094; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< b967a595fb735d313a8676b2ca6a4cba38506482; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 55c677619084f9c9fa4146d933cc8ccafc924c87; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 99b25b046e47e4904373cfeb445c5483f1633d88; 708c304b583d789957399dd8237f212cf8ad1e4d; d270631c21e68fb8016d6e231d022d7023a2df6f; 02f41d88f15d6b7d523e52cc3f87488f57e9265b; \>= 6.1.29, \< 6.1.191; … (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90152. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90152.md
Affected: Linux >= f623f627ad2b1dc215ab3b0df53fb05cfd3a1c3b, < 869807cdd5599c289c21d40f36a504d72a0d23c6; >= f5c779b7ddbda30866cf2a27c63e34158f858c73, < 988f99bfddda4e2d1da5f6e98b237dd85e123cee; >= f5c779b7ddbda30866cf2a27c63e34158f858c73, < 03a22a003f41b182245e6c71fe565e277cff7094; >= f5c779b7ddbda30866cf2a2…
Fixed in: Linux 869807cdd5599c289c21d40f36a504d72a0d23c6, Linux 988f99bfddda4e2d1da5f6e98b237dd85e123cee, Linux 03a22a003f41b182245e6c71fe565e277cff7094, Linux 55c677619084f9c9fa4146d933cc8ccafc924c87, Linux 99b25b046e47e4904373cfeb445c5483f1633d88, Linux 6.1.191

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90152 being exploited?

There is no confirmed exploitation: CVE-2026-90152 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90152?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90152?

Linux \>= f623f627ad2b1dc215ab3b0df53fb05cfd3a1c3b, \< 869807cdd5599c289c21d40f36a504d72a0d23c6; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 988f99bfddda4e2d1da5f6e98b237dd85e123cee; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 03a22a003f41b182245e6c71fe565e277cff7094; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< b967a595fb735d313a8676b2ca6a4cba38506482; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 55c677619084f9c9fa4146d933cc8ccafc924c87; \>= f5c779b7ddbda30866cf2a27c63e34158f858c73, \< 99b25b046e47e4904373cfeb445c5483f1633d88; 708c304b583d789957399dd8237f212cf8ad1e4d; d270631c21e68fb8016d6e231d022d7023a2df6f; 02f41d88f15d6b7d523e52cc3f87488f57e9265b; \>= 6.1.29, \< 6.1.191; …; Linux 6.4.

### Is there a fix for CVE-2026-90152?

Yes. Fixed in Linux 869807cdd5599c289c21d40f36a504d72a0d23c6, Linux 988f99bfddda4e2d1da5f6e98b237dd85e123cee, Linux 03a22a003f41b182245e6c71fe565e277cff7094, Linux 55c677619084f9c9fa4146d933cc8ccafc924c87, Linux 99b25b046e47e4904373cfeb445c5483f1633d88, Linux 6.1.191. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-90152?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/869807cdd5599c289c21d40f36a504d72a0d23c6>
- other: <https://git.kernel.org/stable/c/988f99bfddda4e2d1da5f6e98b237dd85e123cee>
- other: <https://git.kernel.org/stable/c/03a22a003f41b182245e6c71fe565e277cff7094>
- other: <https://git.kernel.org/stable/c/b967a595fb735d313a8676b2ca6a4cba38506482>
- other: <https://git.kernel.org/stable/c/55c677619084f9c9fa4146d933cc8ccafc924c87>
- other: <https://git.kernel.org/stable/c/99b25b046e47e4904373cfeb445c5483f1633d88>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90152>

HTML: <https://flawdb.com/CVE-2026-90152> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90152>
