# CVE-2026-68130: ksmbd: defer destroy\_previous\_session() until after NTLM authentication

> 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.26% (percentile 11, 2026-11-26)
- **Published:** 2026-08-10T11:58:52.653Z
- **Modified:** 2026-08-23T13:16:33.353Z

## Who should check

- Anyone running Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< ab0230257ebdf48b07eaa679a8c92bc842fe3498; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 370b0ec8822b69c9073265e16b7daaa8201c9a4f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5c833074b549e5db125436a6f681af682261f785; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 243f1614ef2aca2d62a744575f1c24b07cd42757; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 18705cace0619fd2123737dcd028147774f38181; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 0ff12308c8a6c16ab68f0a487ffa93d69001dc18; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< c74801ee524f477c174a1899782b6c3b6918d407
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: defer destroy\_previous\_session() until after NTLM authentication

In ntlm\_authenticate(), destroy\_previous\_session() is called using a
user pointer resolved from the client-supplied NTLM blob username field
before the NTLMv2 response is validated. An authenticated attacker can
set the NTLM blob username to match a victim account and set
PreviousSessionId to the victim's session ID; destroy\_previous\_session()
destroys the victim's session while ksmbd\_decode\_ntlmssp\_auth\_blob()
subsequently rejects the request with -EPERM.

Move destroy\_previous\_session() and the prev\_id assignment to after
ksmbd\_decode\_ntlmssp\_auth\_blob() returns success and use sess-\>user
rather than the pre-authentication lookup result. This matches the
ordering already used by krb5\_authenticate(), where
destroy\_previous\_session() is called only after
ksmbd\_krb5\_authenticate() returns success.

## Affected and fixed versions

- Linux: \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< ab0230257ebdf48b07eaa679a8c92bc842fe3498; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 370b0ec8822b69c9073265e16b7daaa8201c9a4f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5c833074b549e5db125436a6f681af682261f785; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 243f1614ef2aca2d62a744575f1c24b07cd42757; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 18705cace0619fd2123737dcd028147774f38181; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 0ff12308c8a6c16ab68f0a487ffa93d69001dc18; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< c74801ee524f477c174a1899782b6c3b6918d407 (cvelist)
- Linux: 5.15 (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-68130. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68130.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < ab0230257ebdf48b07eaa679a8c92bc842fe3498; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 370b0ec8822b69c9073265e16b7daaa8201c9a4f; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 5c833074b549e5db125436a6f681af682261f785; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 370b0ec8822b69c9073265e16b7daaa8201c9a4f, Linux 5c833074b549e5db125436a6f681af682261f785, Linux 243f1614ef2aca2d62a744575f1c24b07cd42757, Linux 18705cace0619fd2123737dcd028147774f38181, Linux 0ff12308c8a6c16ab68f0a487ffa93d69001dc18

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-68130 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< ab0230257ebdf48b07eaa679a8c92bc842fe3498; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 370b0ec8822b69c9073265e16b7daaa8201c9a4f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5c833074b549e5db125436a6f681af682261f785; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 243f1614ef2aca2d62a744575f1c24b07cd42757; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 18705cace0619fd2123737dcd028147774f38181; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 0ff12308c8a6c16ab68f0a487ffa93d69001dc18; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< c74801ee524f477c174a1899782b6c3b6918d407; Linux 5.15.

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

Yes. Fixed in Linux 370b0ec8822b69c9073265e16b7daaa8201c9a4f, Linux 5c833074b549e5db125436a6f681af682261f785, Linux 243f1614ef2aca2d62a744575f1c24b07cd42757, Linux 18705cace0619fd2123737dcd028147774f38181, Linux 0ff12308c8a6c16ab68f0a487ffa93d69001dc18. No fix listed yet: follow the vendor advisory.

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

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/ab0230257ebdf48b07eaa679a8c92bc842fe3498>
- other: <https://git.kernel.org/stable/c/370b0ec8822b69c9073265e16b7daaa8201c9a4f>
- other: <https://git.kernel.org/stable/c/5c833074b549e5db125436a6f681af682261f785>
- other: <https://git.kernel.org/stable/c/243f1614ef2aca2d62a744575f1c24b07cd42757>
- other: <https://git.kernel.org/stable/c/18705cace0619fd2123737dcd028147774f38181>
- other: <https://git.kernel.org/stable/c/0ff12308c8a6c16ab68f0a487ffa93d69001dc18>
- other: <https://git.kernel.org/stable/c/c74801ee524f477c174a1899782b6c3b6918d407>

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

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