Skip to main content

ksmbd CVE-2026-68130

| EUVDEUVD-2026-55511 MEDIUM
Missing Authorization (CWE-862)
2026-08-10 Linux GHSA-cjmw-xwhw-8r5x
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to ksmbd SMB share
  2. Delivery
    Craft NTLM blob with victim username and session ID
  3. Exploit
    Submit before NTLMv2 validation
  4. Execution
    destroy_previous_session() kills victim session
  5. Impact
    Victim connectivity denied (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target host runs the in-kernel ksmbd SMB server (not the default on most Linux systems and distinct from userspace Samba), and that the attacker already holds valid credentials to begin an NTLM/SMB session (PR:L). The concrete trigger is setting the NTLM authenticate blob's username field to a victim account and PreviousSessionId to the victim's active session ID, so the attacker must additionally know or obtain the victim's current session ID - a real limiting factor beyond raw CVSS. Impact is confined to destroying the victim's session (availability only); there is no confidentiality or integrity effect. Krb5-authenticated paths are unaffected because krb5_authenticate() already defers session destruction until after successful authentication.

Impact

This is a genuine but moderate-priority authorization flaw (CWE-862) in the Linux kernel's in-kernel SMB server (ksmbd), not a high-CVSS-but-illusory issue, yet also not an emergency. The input CVSS of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) scores it MEDIUM with availability-only impact and no confidentiality/integrity loss, which matches the mechanism: an already-authenticated SMB client can forcibly destroy another user's live session, a denial-of-service against the victim, not code execution or data theft. The exploitation signals reinforce low urgency: EPSS is 0.21% (11th percentile), there is no CISA KEV listing and no public exploit identified, and the vuln.today decision label is 'this_month' (routine patch cadence, not act_now/emergency). The one material conflict is the attack vector: the provided CVSS states AV:L (local), but ksmbd is a network-facing SMB service and the described attack - supplying a crafted NTLM authenticate blob with a victim username and the victim's PreviousSessionId - is performed over SMB by a remote client, so AV:N is more defensible; this discrepancy should be verified against the kernel CNA record. A second practical limiter the CVSS does not capture is that the attacker must know or guess the victim's active session ID. Overall: schedule the patch on normal kernel-update timelines for any host actually running ksmbd; it is not drop-everything.

Exploit ScenarioDerived

An authenticated SMB user on a server running ksmbd sends an NTLM authenticate request in which the username field names a victim account and PreviousSessionId is set to the victim's current session ID. Because destroy_previous_session() runs on the attacker-supplied username before the NTLMv2 response is validated, the victim's session is torn down even though the attacker's own authentication is then rejected with -EPERM, producing a targeted denial of service. No public exploit code was identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Denial of service in the Linux kernel's in-kernel ksmbd SMB server: an authenticated SMB user can tear down another account's live session by placing the victim's username in the client-supplied NTLM authenticate blob and setting PreviousSessionId to that victim's session ID, because destroy_previous_session() was invoked before the NTLMv2 response was validated. Scope is narrow - only hosts running ksmbd are affected (it is not the default on most Linux systems and is a separate codebase from userspace Samba), and the attacker must already hold valid credentials and know the victim's current session ID; impact is availability only (upstream CVSS 5.5; assessed vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). EPSS is 0.21% (11th percentile), there is no KEV listing, and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade ksmbd-capable kernels to Linux 6.6.148, 6.12.101, 6.18.42, 7.1.6 or 7.2-rc5 (or the equivalent stable commit listed for your branch), or install the fixed distribution kernels announced in Ubuntu USN-8887-1 (https://ubuntu.com/security/notices/USN-8887-1), USN-8888-1 (https://ubuntu.com/security/notices/USN-8888-1) and USN-8889-1 (https://ubuntu.com/security/notices/USN-8889-1); the upstream fix moves destroy_previous_session() and the prev_id assignment after a successful ksmbd_decode_ntlmssp_auth_blob() and switches to sess->user. Because the bug only exists when the in-kernel SMB server is active, a host that does not need ksmbd can avoid exposure entirely by not loading the module (for example by blacklisting or masking ksmbd so it never loads, or disabling it in the kernel config), with the trade-off that the machine loses its in-kernel SMB service and would need the separate userspace Samba stack for file sharing. Where ksmbd must stay enabled and patching is delayed, restrict TCP 445 to trusted client networks with host firewall or ACL rules and shorten session lifetimes; this lowers the chance an attacker can learn a victim's live session ID but does not correct the underlying ordering flaw, so it is only a stopgap.

Affected VersionsENISA

Linux patch: 6.18.42
Linux patch: 6.6.148
Linux patch: 7.1.6
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <243f1614ef2aca2d62a744575f1c24b07cd42757
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <c74801ee524f477c174a1899782b6c3b6918d407
Linux patch: 0
Linux patch: 6.12.101
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <5c833074b549e5db125436a6f681af682261f785
Linux patch: 7.2-rc5
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <0ff12308c8a6c16ab68f0a487ffa93d69001dc18
Linux 5.15
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <18705cace0619fd2123737dcd028147774f38181

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ksmbd is the in-kernel SMB/CIFS server shipped with the Linux kernel, distinct from the userspace Samba daemon, and it implements NTLMSSP authentication inside the kernel. In ntlm_authenticate(), the previous-session teardown routine destroy_previous_session() was called with a user pointer resolved from the username field of the client-supplied NTLM blob, and the prev_id (PreviousSessionId) value was recorded, all before ksmbd_decode_ntlmssp_auth_blob() validated the NTLMv2 response. That ordering is a missing-authorization condition (CWE-862): the session-destruction action was performed on the strength of unvalidated, attacker-chosen input, so a request that is subsequently rejected with -EPERM has already deleted the victim's session. The fix defers both destroy_previous_session() and the prev_id assignment until ksmbd_decode_ntlmssp_auth_blob() returns success, and uses sess->user instead of the pre-authentication lookup result - matching krb5_authenticate(), where destroy_previous_session() is only reached after ksmbd_krb5_authenticate() succeeds. Consequently the Kerberos path was never affected, and the pre-fix flaw only manifests on the NTLM/NTLMv2 path of an enabled ksmbd server; there is no confidentiality or integrity consequence, only loss of the victim's active session.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

ksmbd is a network SMB service so AV:N (the input AV:L appears mislabeled); attacker must be authenticated (PR:L); impact is destruction of a victim session, availability-only (A:H, C/I:N).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Dec 02, 2026 - 19:37 NVD
5.5 (MEDIUM)
Patch available
Aug 10, 2026 - 14:18 EUVD
CVE Published
Aug 10, 2026 - 11:58 nvd
MEDIUM 5.5
CVE Published
Aug 10, 2026 - 11:58 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
in-kernel ksmbd SMB server is optional and rarely enabled versus userspace Samba
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy