CVE-2026-68130

ksmbd: defer destroy_previous_session() until after NTLM authentication

CVE-2026-68130 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-68130, released August 11, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.1
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0022
12th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
linux · Debian 12.15 (bookworm) 6.1.187-1 DEBIAN-CVE-2026-68130 Aug 11, 2026
linux · Debian 13.5 (trixie) 6.12.101-1 DEBIAN-CVE-2026-68130 Aug 11, 2026
linux · Debian 14 7.1.6-1 DEBIAN-CVE-2026-68130 Aug 11, 2026
linux-6.12 · Debian 12.15 (bookworm) 6.12.101-1~deb12u1 DEBIAN-CVE-2026-68130 Aug 11, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.