CVE-2026-68130: ksmbd: defer destroy_previous_session() until after NTLM authentication

Published Aug 10, 2026
·
Updated

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

ksmbd: defer destroyprevioussession() until after NTLM authentication

In ntlmauthenticate(), destroyprevioussession() 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; destroyprevioussession() destroys the victim's session while ksmbddecodentlmsspauthblob() subsequently rejects the request with -EPERM.

Move destroyprevioussession() and the previd assignment to after ksmbddecodentlmsspauthblob() returns success and use sess->user rather than the pre-authentication lookup result. This matches the ordering already used by krb5authenticate(), where destroyprevioussession() is called only after ksmbdkrb5authenticate() returns success.

Affected Software

1 affected component
Linux Kernel

Event History

Aug 10, 2026
CVE Published
via MITRE·11:58 AM
Data Sourced
via MITRE·11:58 AM
Description
Data Sourced
via NVD·01:19 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68130?

CVE-2026-68130 has a risk rating of 33.

2

How do I fix CVE-2026-68130?

To mitigate CVE-2026-68130, ensure that your Linux kernel is updated to the latest version which includes the patch.

3

What systems are affected by CVE-2026-68130?

CVE-2026-68130 affects systems running specific versions of the Linux kernel with ksmbd.

4

What does CVE-2026-68130 exploit?

CVE-2026-68130 exploits a flaw in the NTLM authentication lifecycle in the ksmbd implementation of the Linux kernel.

5

When was CVE-2026-68130 published?

CVE-2026-68130 was published on August 10, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203