Skip to main content

Linux kernel ksmbd CVE-2026-31476

| EUVDEUVD-2026-24831 HIGH
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-223f-gch2-xvq3
8.2
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Identify ksmbd server on port 445
  2. Delivery
    Enumerate active SMB sessions
  3. Exploit
    Send crafted SESSION_BINDING request with invalid credentials
  4. Execution
    Trigger session expiration logic
  5. Persist
    Terminate victim's active connections
  6. Impact
    Repeat for sustained DoS

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the target Linux system to have the ksmbd kernel module loaded and actively serving SMB connections. The server must be configured with SMB multichannel support enabled (multichannel = yes in ksmbd.conf), which is not the default configuration. Attacker needs network reachability to TCP port 445 (SMB) on the target server. The attack succeeds against any kernel version between initial ksmbd introduction (Linux 5.15) and the patched releases (6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0). Exploitation is limited to systems using in-kernel ksmbd implementation - the vast majority of production Linux SMB deployments use userspace Samba and are NOT vulnerable. No user interaction, authentication, or special privileges required once the attacker identifies a vulnerable ksmbd instance. The flaw does NOT affect single-channel SMB configurations, significantly limiting real-world attack surface since multichannel is an advanced deployment option typically used only in high-performance storage environments.

Impact

Real-world risk assessment shows conflicting signals requiring careful interpretation. CVSS 8.2 (High) reflects network vector (AV:N), low complexity (AC:L), no privileges required (PR:N), and high availability impact (A:H), suggesting critical exposure. However, EPSS score of 0.08% (23rd percentile) indicates statistical models predict very low exploitation probability in the wild. No CISA KEV listing confirms this is not currently exploited at scale. The attack succeeds only when ksmbd is enabled and configured for SMB multichannel - a relatively uncommon deployment scenario since most production Linux SMB servers use userspace Samba, not the newer kernel implementation. Default Linux installations do not enable ksmbd. SSVC decision framework suggests Defer priority: exploitation status is None (no POC), automatable is Yes (simple network request), technical impact is Partial (DoS only, no code execution or data breach). The low integrity impact (I:L) in CVSS vector appears inconsistent with pure DoS - verify whether session expiration also corrupts session state or logs. Priority recommendation: Medium for organizations explicitly running ksmbd with multichannel; Low for standard Linux server deployments using Samba or without SMB services. Patch during normal maintenance windows unless ksmbd multichannel is business-critical.

Exploit ScenarioDerived

Remote attacker identifies a Linux server running ksmbd with multichannel enabled by scanning for SMB services on port 445/TCP and detecting ksmbd-specific SMB dialect responses. Attacker enumerates active user sessions through standard SMB session enumeration techniques or prior reconnaissance. To disrupt a target user's file access, the attacker sends an SMB2_SESSION_SETUP packet with the SESSION_BINDING flag set, referencing the victim's valid SessionId but providing intentionally incorrect credentials. The ksmbd server processes the binding request, looks up the victim's session object, fails authentication, and erroneously marks the session as expired. The victim's existing SMB connections immediately terminate, disrupting file transfers, mapped drives, and application access. The attack requires no authentication and can be repeated to maintain persistent denial-of-service against specific users or cycled across all enumerated sessions to cause organization-wide SMB outages. No public exploit code identified at time of analysis, but the attack logic is straightforward to implement using standard SMB client libraries.

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

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

Alert me

AnalysisAIv1 – Apr 27, 2026

Remote unauthenticated denial-of-service in Linux kernel's ksmbd SMB server allows attackers to terminate arbitrary active user sessions by sending crafted multichannel binding requests with invalid credentials. The flaw affects ksmbd (kernel-mode SMB server) across multiple stable kernel branches (6.1.x through 7.0). Vendor patches available for all affected versions. EPSS score of 0.08% (23rd percentile) indicates low observed exploitation likelihood, with no CISA KEV listing or public POC identified at time of analysis. The CVSS 8.2 rating reflects network-accessible attack surface with high availability impact, though actual exploitation requires specific SMB multichannel configuration.

RemediationAI

Primary remediation is upgrading to patched kernel versions: 6.1.168+, 6.6.131+, 6.12.80+, 6.18.21+, 6.19.11+, or mainline 7.0+. Distributions should apply vendor-specific kernel updates containing backported fixes (commits listed in git.kernel.org references). Organizations unable to patch immediately should disable ksmbd multichannel support by setting 'multichannel = no' in /etc/ksmbd/ksmbd.conf, which eliminates the vulnerable code path but degrades SMB3 performance and fault tolerance for clients relying on multiple network paths. Alternative compensating control is unloading the ksmbd module ('rmmod ksmbd') and reverting to userspace Samba, though this requires service migration with potential configuration incompatibilities. Network-level mitigation via firewall rules restricting SMB ports (445/TCP, 139/TCP) to trusted source IPs reduces attack surface but does not eliminate risk from insider threats or compromised trusted hosts. Each workaround trades functionality (multichannel, kernel performance) for security - assess business impact before implementing. Verify patch application by checking kernel version ('uname -r') matches fixed release and confirming fix commit presence in deployed kernel source.

Affected VersionsENISA

Linux patch: 6.19.11
Linux patch: 6.6.131
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1d1888b4a7aec518b707f6eca0bf08992c0e8da3
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f5300690c23c5ac860499bb37dbc09cf43fd62e6
Linux patch: 6.1.168
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9bbb19d21ded7d78645506f20d8c44895e3d0fb9
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6fafc4c4238e538969f1375f9ecdc6587c53f1cc
Linux patch: 7.0
Linux patch: 6.12.80
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a897064a457056acb976e20e3007cdf553de340f
Linux patch: 6.18.21
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e0e5edc81b241c70355217de7e120c97c3429deb

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 5.15 as a high-performance alternative to userspace Samba. During SMB3 multichannel session binding (RFC 9110 section 3.2.4.1), ksmbd incorrectly handles authentication failures by calling ksmbd_session_lookup_slowpath() to retrieve the target session object, then unconditionally setting sess->state = SMB2_SESSION_EXPIRED in the error path. Because multichannel binding requests reference sessions from other established connections, a failed binding attempt expires the victim's active session rather than rejecting only the binding request. The affected code path processes SMB2_SESSION_SETUP commands with the SESSION_BINDING flag, which are legitimate operations for load balancing and fault tolerance in SMB3 deployments. The flaw represents a state management error where ownership and lifecycle boundaries between connection-local and shared session objects are violated. All stable kernel branches containing ksmbd are affected from initial commit 1da177e4c3f41 through fix commits deployed in 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, and mainline 7.0.

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 (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
SUSE HIGH

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 23:25 nvd
Patch available
CVSS changed
Apr 27, 2026 - 14:22 NVD
8.2 (HIGH)
Patch available
Apr 22, 2026 - 16:33 EUVD
CVE Published
Apr 22, 2026 - 14:16 nvd
HIGH 8.2

DescriptionCVE.org

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

ksmbd: do not expire session on binding failure

When a multichannel session binding request fails (e.g. wrong password), the error path unconditionally sets sess->state = SMB2_SESSION_EXPIRED. However, during binding, sess points to the target session looked up via ksmbd_session_lookup_slowpath() -- which belongs to another connection's user. This allows a remote attacker to invalidate any active session by simply sending a binding request with a wrong password (DoS).

Fix this by skipping session expiration when the failed request was a binding attempt, since the session does not belong to the current connection. The reference taken by ksmbd_session_lookup_slowpath() is still correctly released via ksmbd_user_session_put().

Executive ViewAI

Why It Matters

CVE-2026-31476 is a high-severity denial-of-service vulnerability in Linux kernel's ksmbd SMB server that allows unauthenticated attackers to terminate active user sessions through crafted network requests. Organizations running ksmbd on kernel versions 6.1.x through 7.0 face potential service disruption and user session loss, impacting business continuity and employee productivity. The low observed exploitation rate (0.1% EPSS) provides a narrow remediation window before threat actor adoption.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Restrict SMB multichannel access via firewall rules to trusted internal networks only; (2) disable ksmbd multichannel binding if operationally viable; (3) monitor SMB session logs for abnormal termination patterns; (4) implement network-level access controls to limit exposure until kernel patches are deployed.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
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.1%
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

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