Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to ksmbd SMB share
-
DeliveryCraft NTLM blob with victim username and session ID
-
ExploitSubmit before NTLMv2 validation
-
Executiondestroy_previous_session() kills victim session
-
ImpactVictim 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-55511
GHSA-cjmw-xwhw-8r5x
NVD
CVE.org
EPSS
VulDB
Exploit-DB