CVE-2026-68130: ksmbd: defer destroy_previous_session() until after NTLM authentication
Vulnerability summary
CVE-2026-68130 is a medium (CVSS 5.5) Missing Authorization vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.4% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 25 · Related 20Timeline
- 10-08-2026PublishedVulnerability first disclosed.
- 23-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 2 versions- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
Decrease -0.08 pp
From 0.22% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu157 products
- linuxAll versions (No fix recorded) | < 5.15.0-202.212 | < 6.8.0-147.147 | < 7.0.0-38.38
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1119.126 | < 6.8.0-1067.70 | < 7.0.0-1014.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.187-1 | < 6.12.101-1 | < 7.1.6-1
- linux-6.12< 6.12.101-1~deb12u1
Linux2 products
- linux≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < ab0230257ebdf48b07eaa679a8c92bc842fe3498 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 370b0ec8822b69c9073265e16b7daaa8201c9a4f | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 5c833074b549e5db125436a6f681af682261f785 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 243f1614ef2aca2d62a744575f1c24b07cd42757 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 18705cace0619fd2123737dcd028147774f38181 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 0ff12308c8a6c16ab68f0a487ffa93d69001dc18 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < c74801ee524f477c174a1899782b6c3b6918d407 | 5.15
- linux_kernel≥ 5.15, < 5.15.217 | ≥ 5.16, < 6.1.183 | ≥ 6.2, < 6.6.148 | ≥ 6.7, < 6.12.101 | ≥ 6.13, < 6.18.42 | ≥ 6.19, < 7.1.6 | 7.2:rc1 | 7.2:rc2 | 7.2:rc3 | 7.2:rc4
3 vendors · 161 products