CVE-2026-68130
ksmbd: defer destroy_previous_session() until after NTLM authentication
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < ab0230257ebdf48b07eaa679a8c92bc842fe3498; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 370b0ec8822b69c9073265e16b7daaa8201c9a4f; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 5c833074b549e5db125436a6f681af682261f785; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 243f1614ef2aca2d62a744575f1c24b07cd42757; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 18705cace0619fd2123737dcd028147774f38181; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 0ff12308c8a6c16ab68f0a487ffa93d69001dc18; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < c74801ee524f477c174a1899782b6c3b6918d407; Linux 5.15
- Fixed in
- Linux 370b0ec8822b69c9073265e16b7daaa8201c9a4f, Linux 5c833074b549e5db125436a6f681af682261f785, Linux 243f1614ef2aca2d62a744575f1c24b07cd42757, Linux 18705cace0619fd2123737dcd028147774f38181, Linux 0ff12308c8a6c16ab68f0a487ffa93d69001dc18
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < ab0230257ebdf48b07eaa679a8c92bc842fe3498; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 370b0ec8822b69c9073265e16b7daaa8201c9a4f; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 5c833074b549e5db125436a6f681af682261f785; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 243f1614ef2aca2d62a744575f1c24b07cd42757; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 18705cace0619fd2123737dcd028147774f38181; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 0ff12308c8a6c16ab68f0a487ffa93d69001dc18; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < c74801ee524f477c174a1899782b6c3b6918d407 | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Other
- https://git.kernel.org/stable/c/ab0230257ebdf48b07eaa679a8c92bc842fe3498
- https://git.kernel.org/stable/c/370b0ec8822b69c9073265e16b7daaa8201c9a4f
- https://git.kernel.org/stable/c/5c833074b549e5db125436a6f681af682261f785
- https://git.kernel.org/stable/c/243f1614ef2aca2d62a744575f1c24b07cd42757
- https://git.kernel.org/stable/c/18705cace0619fd2123737dcd028147774f38181
- https://git.kernel.org/stable/c/0ff12308c8a6c16ab68f0a487ffa93d69001dc18
- https://git.kernel.org/stable/c/c74801ee524f477c174a1899782b6c3b6918d407
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.