Skip to main content

ksmbd CVE-2026-74521

| EUVDEUVD-2026-59714 CRITICAL
2026-08-15 Linux GHSA-336h-563m-gwm9
Critical
Disputed · 9.1 Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed ksmbd SMB share on TCP/445
  2. Delivery
    Craft ClientGUID with early embedded NUL byte
  3. Exploit
    Send SMB3 session-bind or VALIDATE_NEGOTIATE request
  4. Execution
    strncmp() falsely matches victim ClientGUID
  5. Persist
    Bind channel to victim's authenticated session
  6. Impact
    Access or tamper with SMB data

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the target to be running the Linux kernel ksmbd in-kernel SMB server with shares exposed on the network (a non-default configuration, as most deployments use userspace Samba), and specifically requires the SMB3 multichannel session-binding path or an FSCTL_VALIDATE_NEGOTIATE_INFO exchange to be reachable. The attacker must supply a ClientGUID whose bytes up to the first embedded NUL match those of a currently active/authenticated session so that strncmp() falsely reports equality; a fully distinct GUID with no colliding prefix will not trigger the flaw. Limiting factors: ksmbd must be enabled and firewall-reachable on TCP/445, an existing target session generally must be present to bind against, and the outcome depends on being able to produce a prefix-colliding GUID - so despite the CVSS AV:N/AC:L/PR:N rating, realistic exploitation is constrained rather than trivial universal RCE-style access.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:N, base 9.1) portrays a trivially exploitable network attack, but several signals temper this. EPSS is only 0.15% (5th percentile), the CVE is NOT on CISA KEV, and no POC is referenced - all consistent with no real-world exploitation. The vendor-provided tag says 'Information Disclosure,' which conflicts with the CVSS I:H (integrity) rating; the session-binding nature of the bug does support both confidentiality and integrity impact, so this discrepancy should be verified against the kernel commit. The AC:L and PR:N metrics are optimistic: practical exploitation requires ksmbd to be enabled and network-reachable (a non-default, relatively uncommon configuration), an active target session to hijack, and a ClientGUID engineered to collide on the pre-NUL prefix - conditions that argue for higher attack complexity than AC:L implies. Net: a legitimately serious logic flaw where it applies, but real-world priority is bounded by ksmbd's limited deployment and the absence of exploitation evidence.

Exploit ScenarioDerived

An attacker with network access to a host running an exposed ksmbd share crafts SMB3 session-binding or FSCTL_VALIDATE_NEGOTIATE_INFO requests using a ClientGUID containing an embedded NUL byte early in the value, causing ksmbd's strncmp() check to match it against a different, already-authenticated client. By colliding on the pre-NUL prefix, the attacker binds a channel to the victim's session and gains access to that session's authenticated context, reading or tampering with SMB data. No public exploit code is currently available, and the higher real-world attack complexity (needing an active target session and a colliding GUID) makes this a targeted rather than mass-exploitable scenario.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – Aug 17, 2026

Session-binding authentication weakness in the Linux kernel's ksmbd in-kernel SMB3 server allows different SMB clients to be treated as identical because ClientGUID values were compared with strncmp(), which halts at the first embedded NUL byte. An attacker able to reach an exposed ksmbd share could exploit this to bind to another client's authenticated SMB3 multichannel session or bypass FSCTL_VALIDATE_NEGOTIATE_INFO integrity checks, exposing high confidentiality and integrity impact per the CVSS 9.1 rating. There is no public exploit identified at time of analysis, and EPSS is low (0.15%, 5th percentile), indicating no observed exploitation activity.

RemediationAI

Upstream fix available (commits d535363299822c5caa543787b21bd5cfa3e41949 and e8bb506e6ef749ac0336f3e579d8d02396b7d832 on git.kernel.org); update to a kernel that includes the memcmp() correction - the EUVD data references stable 7.1.8 and mainline ~7.2-rc6 as patched, so apply your distribution's kernel update that incorporates these commits rather than relying on an unverified upstream tag. If you cannot immediately patch, the most effective compensating control is to disable the ksmbd server entirely (unload the ksmbd kernel module and stop ksmbd-tools) and use userspace Samba, which is not affected - the trade-off is loss of the in-kernel SMB performance benefit. Where ksmbd must stay enabled, restrict exposure by firewalling TCP/445 to trusted management networks and disabling SMB3 multichannel if not required, which removes the primary session-binding attack surface at the cost of reduced throughput for multichannel clients. Patch commits: https://git.kernel.org/stable/c/d535363299822c5caa543787b21bd5cfa3e41949 and https://git.kernel.org/stable/c/e8bb506e6ef749ac0336f3e579d8d02396b7d832.

Affected VersionsENISA

Linux patch: 7.2-rc6
Linux 5.15
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <e8bb506e6ef749ac0336f3e579d8d02396b7d832
Linux patch: 0
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <d535363299822c5caa543787b21bd5cfa3e41949
Linux patch: 7.1.8

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 Linux kernel's native SMB2/SMB3 file-server implementation (an in-kernel alternative to userspace Samba). The affected code path handles SMB3 multichannel session binding and the FSCTL_VALIDATE_NEGOTIATE_INFO control, both of which identify a client by its ClientGUID - a fixed-length SMB2_CLIENT_GUID_SIZE (16-byte) binary blob that may legitimately contain NUL (0x00) bytes anywhere in the value. The original code used strncmp(), a C-string comparison that stops at the first NUL terminator, so any two ClientGUIDs sharing a common prefix up to the first NUL were incorrectly deemed equal. The fix replaces strncmp() with memcmp() to compare all 16 bytes regardless of NUL content. No CWE was assigned in the input, but the root cause is an improper-comparison/authentication class flaw (conceptually CWE-697 Incorrect Comparison, leading to CWE-287-style improper authentication for session binding).

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

Sources disagree (Medium–Critical)
Vendor (Linux) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

Network-reachable and unauthenticated, but requires an active target session plus a prefix-colliding ClientGUID, so AC:H; session hijack yields high confidentiality and integrity, no availability impact.

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

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: Linux

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

Lifecycle Timeline

3
CVSS changed
Aug 17, 2026 - 06:22 NVD
9.1 (CRITICAL)
CVE Published
Aug 15, 2026 - 12:27 cve.org
CRITICAL 9.1
CVE Published
Aug 15, 2026 - 12:27 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

ksmbd: use memcmp() to compare ClientGUIDs

ClientGUID is a fixed-size binary value and can contain embedded NUL bytes. strncmp() stops comparing at the first NUL byte, so different ClientGUID values can incorrectly be treated as equal.

Use memcmp() in SMB3 multichannel session binding and FSCTL_VALIDATE_NEGOTIATE_INFO to compare all SMB2_CLIENT_GUID_SIZE bytes.

Executive ViewAI

Why It Matters

The Linux kernel's ksmbd in-kernel SMB3 server contains a critical authentication flaw (CVSS 9.1) that could allow attackers with network access to hijack authenticated client sessions or bypass file-sharing integrity protections. No public exploit has been identified at time of analysis, and observed exploitation probability is minimal (EPSS 0.2%), but the lack of an available vendor patch leaves exposed SMB3 shares vulnerable to session hijacking until a fix is released.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to ksmbd shares using firewall rules and network segmentation, disable ksmbd if not required for business operations, implement enhanced monitoring of SMB3 multichannel sessions for unauthorized session binding attempts, and consider alternative SMB server implementations where feasible.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
ksmbd rarely enabled; most Linux SMB servers use userspace Samba
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
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: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

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