Skip to main content

Linux Kernel ksmbd EUVDEUVD-2026-19195

| CVE-2026-31409 HIGH
2026-04-06 Linux GHSA-5qj3-gjq7-62fm
8.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to ksmbd with valid credentials
  2. Delivery
    Send multichannel binding request
  3. Exploit
    Trigger controlled binding failure
  4. Install
    Poison connection state (conn->binding remains true)
  5. C2
    Enumerate global sessions table
  6. Execute
    Hijack target session
  7. Impact
    Execute commands as victim user

Vulnerability Assessment

Exploitation Conditions

ksmbd module loaded and SMB service exposed on network (typically TCP port 445). Attacker must possess valid SMB credentials (any privilege level due to PR:L) to establish initial authenticated session. Target system must have SMB3 multichannel support enabled in ksmbd configuration (enabled by default in most ksmbd builds). Multiple active SMB sessions must exist in the global sessions table for exploitation to yield valuable targets. Standard ksmbd deployment on network-accessible file servers or NAS devices meets these conditions. Default Linux distributions using Samba instead of ksmbd are NOT vulnerable. Exploitation requires protocol-level knowledge of SMB3 multichannel binding mechanism and ability to craft malformed binding requests. No user interaction required (UI:N). Limits to exploitation: requires authenticated access (eliminating anonymous network attackers), ksmbd is not widely deployed compared to Samba (narrow target base), attacker must identify valuable sessions in global table (not trivial without information disclosure), and successful session hijacking depends on target sessions remaining active during attack window.

Impact

Real-world risk is LOWER than the 8.8 CVSS score suggests when examined through multiple lenses. CVSS indicates network-accessible (AV:N), low complexity (AC:L), and high impact across confidentiality, integrity, and availability, but requires low-privileged authentication (PR:L). EPSS score of 0.01% (1st percentile) indicates extremely low exploitation probability in the wild. No CISA KEV listing confirms this is not actively exploited. No public proof-of-concept identified at time of analysis. SSVC factors: exploitation status is 'none' (no evidence of active use), automatable is 'no' (requires authenticated SMB session establishment and understanding of ksmbd's multichannel implementation), technical impact is 'total' (session hijacking can lead to full compromise of accessed sessions). The vulnerability requires deployment of ksmbd, which is NOT the default SMB server in most Linux distributions (Samba is standard). ksmbd adoption is primarily in embedded systems, NAS devices, and specialized deployments. Exploitation requires: (1) ksmbd enabled and exposed, (2) attacker has valid SMB credentials, (3) multichannel support enabled, (4) ability to trigger binding failures, (5) knowledge of target session identifiers in global table. This narrow attack surface explains the low EPSS score despite high CVSS. Priority should be MEDIUM for environments actually running ksmbd, LOW for standard Linux servers using Samba.

Exploit ScenarioDerived

An attacker with valid low-privileged SMB credentials authenticates to a ksmbd server and establishes a normal SMB session. The attacker then initiates a second connection and sends a crafted SMB2_SESSION_SETUP request with the SMB2_SESSION_REQ_FLAG_BINDING flag set, deliberately triggering a binding failure (e.g., by providing invalid session binding parameters or timing the request to cause resource exhaustion). This leaves the second connection in a permanent binding state. On this poisoned connection, the attacker can now enumerate and access sessions from the global sessions table, potentially hijacking active sessions belonging to other users or higher-privileged accounts, gaining unauthorized access to files and executing commands with those privileges.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 27, 2026

Session hijacking in Linux kernel ksmbd SMB server allows authenticated network attackers to escalate privileges and access arbitrary sessions via failed multichannel binding requests. When SMB2_SESSION_SETUP with SMB2_SESSION_REQ_FLAG_BINDING fails, ksmbd incorrectly leaves the connection in a binding state, causing all subsequent session lookups to fall back to the global sessions table instead of connection-specific sessions. This enables attackers to access sessions across different connections, potentially leading to unauthorized data access and privilege escalation. Exploitation probability is extremely low (EPSS 0.01%, 1st percentile) with no public exploits or CISA KEV listing. Patches available for kernel versions 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.10, and mainline 7.0-rc5.

RemediationAI

Upgrade to patched Linux kernel versions: 6.1.167 or later for the 6.1.x LTS series, 6.6.130 or later for 6.6.x LTS, 6.12.78 or later for 6.12.x stable, 6.18.20 or later for 6.18.x, 6.19.10 or later for 6.19.x, or 7.0-rc5 or later for mainline. Patches available from kernel.org stable tree at the URLs listed in references. For systems unable to immediately patch, disable ksmbd multichannel support by setting 'multichannel = no' in ksmbd configuration (/etc/ksmbd/smb.conf or equivalent), though this eliminates performance benefits and may break clients requiring multichannel. Alternatively, disable ksmbd entirely (rmmod ksmbd) and use Samba instead if SMB server functionality is required, though this requires significant reconfiguration and may impact performance in embedded environments where ksmbd is preferred for lower resource usage. If ksmbd must remain enabled with multichannel, restrict SMB access to trusted networks only via firewall rules (block TCP 445/139 from untrusted sources) to limit attacker authentication opportunities, though this does not eliminate risk from insider threats or compromised credentials. Monitor ksmbd logs for repeated binding failures which may indicate exploitation attempts. Note that disabling multichannel may cause connection issues for Windows 10/11 clients configured to require it.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <282343cf8a4a5a3603b1cb0e17a7083e4a593b03
Linux patch: 7.0-rc5
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <89afe5e2dbea6e9d8e5f11324149d06fa3a4efca
Linux patch: 6.6.130
Linux patch: 6.1.167
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6ebef4a220a1ebe345de899ebb9ae394206fe921
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9feb2d1bf86d9e5e66b8565f37f8d3a7d281a772
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d073870dab8f6dadced81d13d273ff0b21cb7f4e
Linux patch: 6.12.78
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6260fc85ed1298a71d24a75d01f8b2e56d489a60
Linux patch: 6.19.10
Linux patch: 6.18.20

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The vulnerability resides in ksmbd, the in-kernel SMB server implementation introduced in Linux kernel 5.15. ksmbd supports SMB3 multichannel, which allows clients to establish multiple TCP connections for a single session to improve performance and reliability. During multichannel binding (SMB2_SESSION_SETUP with the SMB2_SESSION_REQ_FLAG_BINDING flag), ksmbd sets conn->binding = true to indicate the connection is undergoing binding. The flaw occurs in the error handling path: when binding fails (e.g., due to authentication errors, resource exhaustion, or protocol violations), ksmbd fails to reset conn->binding to false. This leaves the connection permanently in a 'binding' state. Subsequent calls to ksmbd_session_lookup_all() on this connection bypass the normal connection-scoped session lookup and instead search the global sessions table, which contains sessions from all connections. This breaks the session isolation model, allowing an attacker with one authenticated connection to potentially access sessions belonging to other users or connections. The root cause is incomplete state management in error paths, a common pattern in complex protocol implementations.

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.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

3
CVSS changed
Apr 27, 2026 - 14:22 NVD
8.8 (HIGH)
Patch available
Apr 16, 2026 - 05:29 EUVD
282343cf8a4a5a3603b1cb0e17a7083e4a593b03,89afe5e2dbea6e9d8e5f11324149d06fa3a4efca,6ebef4a220a1ebe345de899ebb9ae394206fe921
CVE Published
Apr 06, 2026 - 07:38 nvd
N/A

DescriptionCVE.org

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

ksmbd: unset conn->binding on failed binding request

When a multichannel SMB2_SESSION_SETUP request with SMB2_SESSION_REQ_FLAG_BINDING fails ksmbd sets conn->binding = true but never clears it on the error path. This leaves the connection in a binding state where all subsequent ksmbd_session_lookup_all() calls fall back to the global sessions table. This fix it by clearing conn->binding = false in the error path.

Executive ViewAI

Why It Matters

CVE-2026-31409 is a session hijacking vulnerability in the Linux kernel's ksmbd SMB server that allows authenticated attackers to escalate privileges and access arbitrary user sessions across different connections. Organizations running vulnerable Linux kernel versions with ksmbd enabled face potential unauthorized data access and privilege escalation risks, particularly in environments where SMB file sharing is utilized for cross-user or cross-tenant workloads.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, disable ksmbd module ('modprobe -r ksmbd') on non-critical systems and restrict SMB access to trusted internal networks only via firewall rules. Monitor authentication logs for unusual cross-session access patterns.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Social Media
1
Sightings
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.0%
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
No
Human Impact
Medium

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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