Skip to main content

Linux Kernel ksmbd CVE-2026-64389

| EUVDEUVD-2026-48933 HIGH
2026-07-25 Linux GHSA-fxvf-vm38-6pxw
8.2
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Identify active ksmbd SMB3 multichannel session
  2. Delivery
    Craft SESSION_SETUP with binding flag and bad NTLMv2 proof + KEY_XCH payload
  3. Exploit
    ksmbd derives key into sess->sess_key before proof check
  4. Execution
    arc4_crypt overwrites live session key
  5. Persist
    Authentication returns LOGON_FAILURE but session key already corrupted
  6. Impact
    Legitimate session severed or weakened

Vulnerability Assessment

Exploitation Conditions

Exploitation requires ksmbd to be actively running on the target Linux system (CONFIG_SMB_SERVER loaded and service started - not a default configuration on any mainstream Linux distribution). SMB3 multichannel must be enabled on the ksmbd server, as the vulnerable code path is only reached when conn->binding = true in smb2_sess_setup(). The attacker must be able to identify a valid existing SessionId to reference in the binding SESSION_SETUP request. No successful prior authentication is required for the malicious binding attempt itself (the bug is that auth failure does not prevent key modification). Limiting factors: ksmbd is niche and off by default; SMB3 multichannel is an additional non-default feature; session targeting requires SessionId knowledge; and the session key corruption may be self-limiting if the corrupted session is immediately terminated by the client.

Impact

The provided CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H (8.2) overstates the attack complexity. Exploitation requires two non-default conditions: (1) ksmbd must be running with SMB3 multichannel enabled, and (2) the attacker must target an existing authenticated session - the binding SESSION_SETUP only makes sense against a live session the attacker can reference. These prerequisites raise the realistic AC to High. PR:N is defensible because the malicious binding attempt itself does not require prior successful authentication (that is the bug being exploited), but real targeting of a session adds complexity. EPSS 0.25% at the 16th percentile aligns with a config-gated server-side race condition. No public exploit code and no KEV listing as of time of analysis. The primary impact is availability - corrupting a session key breaks an authenticated SMB3 session - with a secondary integrity concern from key substitution, which could theoretically weaken session encryption. This is a real but operationally bounded priority: deployments not running ksmbd, or not using SMB3 multichannel, are unaffected.

Exploit ScenarioDerived

An attacker on the network sends a crafted SMB3 SESSION_SETUP request with conn->binding = true, targeting an existing authenticated session by its SessionId, supplying a deliberately invalid NTLMv2 NT proof alongside a malicious KEY_XCH blob. Because ksmbd writes the derived key before verifying the proof and does not expire the binding session on error, the arc4_crypt KEY_XCH operation overwrites sess->sess_key with attacker-controlled material before STATUS_LOGON_FAILURE is returned - the legitimate session's signing/encryption key is now corrupted, severing the session.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Sep 16, 2026

Session key corruption in the Linux kernel's ksmbd SMB server allows a network attacker to overwrite an existing session's NTLMv2 session key (sess->sess_key) despite a failed authentication attempt. The flaw lies in the SMB3 multichannel binding path: ksmbd_auth_ntlmv2() derives the base session key into sess->sess_key before verifying the NTLMv2 proof, and the binding session error path does not expire the binding session, so a crafted SESSION_SETUP with a bad NT proof plus KEY_XCH arc4_crypt payload corrupts the live session key before STATUS_LOGON_FAILURE is returned. No public exploit has been identified at time of analysis; EPSS is 0.25% (16th percentile), consistent with a race-and-config-gated server-side flaw.

RemediationAI

Vendor-released patches are available: upgrade to Linux kernel 6.18.40, 7.1.4, or 7.2-rc1, or apply the backport commits b56400364aed5c34d6e1a0b493081290a5328a9c, 89ca7756d5566ba636bb9092cdbe57dab095e136, and 954d196bebb2b50151cb96454c72dc113b2af1ac from git.kernel.org/stable. Ubuntu users should apply USN-8726-1 or USN-8727-1 via standard package management. If immediate patching is not possible, disabling SMB3 multichannel on the ksmbd server eliminates the binding session code path entirely (set server multi channel support = no in ksmbd.conf or equivalent); this trades off performance on multi-NIC clients. Systems not running ksmbd at all (CONFIG_SMB_SERVER not loaded) are unaffected and require no action.

Affected VersionsENISA

Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <954d196bebb2b50151cb96454c72dc113b2af1ac
Linux patch: 6.18.40
Linux patch: 7.1.4
Linux 5.15
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <b56400364aed5c34d6e1a0b493081290a5328a9c
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <89ca7756d5566ba636bb9092cdbe57dab095e136
Linux patch: 7.2-rc1
Linux patch: 0

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 Lightweight SMB server daemon introduced in Linux 5.15 (CONFIG_SMB_SERVER). The vulnerability resides in ksmbd_auth_ntlmv2() (fs/smb/server/auth.c): it calls calc_ntlmv2_hash() and hmac_md5_usingrawkey() writing the derived key directly to sess->sess_key, then calls crypto_memneq() to verify the NT proof - wrong order. ksmbd_decode_ntlmssp_auth_blob() proceeds into the KEY_XCH branch (RC4 arc4_crypt session key exchange) regardless of whether ksmbd_auth_ntlmv2() returned success. SMB3 multichannel binding (conn->binding = true in smb2_sess_setup()) operates on an existing authenticated session; the error return from ntlm_authenticate() does not call expire_session() for binding sessions, leaving the corrupted key in place. CWE is listed as N/A by NVD but the root cause is a logic error / improper sequencing (CWE-697 / CWE-284) leading to unauthorized integrity modification of session state. Affected CPE: cpe:2.3:a:linux:linux.

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

Vendor (Linux) PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
vuln.today AI 6.5 MEDIUM

AC:H because multichannel binding must be enabled and an existing session must be targeted; PR:N because binding setup itself precedes authentication.

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

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Jul 27, 2026 - 05:22 NVD
8.2 (HIGH)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:50 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 25, 2026 - 08:50 cve.org
HIGH 8.2

DescriptionCVE.org

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

ksmbd: validate NTLMv2 response before updating session key

ksmbd_auth_ntlmv2() derives the NTLMv2 session key into sess->sess_key before it verifies the NTLMv2 response. ksmbd_decode_ntlmssp_auth_blob() then continues into KEY_XCH even when ksmbd_auth_ntlmv2() failed.

With SMB3 multichannel binding, the failed authentication operates on an existing session and the session setup error path does not expire binding sessions. A client can send a binding session setup with a bad NT proof and KEY_XCH and still modify sess->sess_key before STATUS_LOGON_FAILURE is returned.

Relevant path:

smb2_sess_setup() -> conn->binding = true -> ntlm_authenticate() -> session_user() -> ksmbd_decode_ntlmssp_auth_blob() -> ksmbd_auth_ntlmv2() -> calc_ntlmv2_hash() -> hmac_md5_usingrawkey(..., sess->sess_key) -> crypto_memneq() returns mismatch -> KEY_XCH arc4_crypt(..., sess->sess_key, ...) -> out_err without expiring the binding session

Derive the base session key into a local buffer and copy it to sess->sess_key only after the proof matches. Return immediately on authentication failure so KEY_XCH is only processed after successful authentication.

Executive ViewAI

Why It Matters

The Linux kernel's ksmbd SMB server contains a session key corruption flaw allowing network attackers to overwrite NTLMv2 authentication keys through malformed SESSION_SETUP requests, potentially enabling unauthorized file share access and session hijacking. This vulnerability directly threatens data confidentiality and integrity for organizations relying on ksmbd-based SMB services. Remediation requires prompt patching to restore authentication security.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
ksmbd requires explicit kernel config and service setup
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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