Skip to main content

Linux kernel ksmbd CVE-2025-68806

HIGH
2026-01-13 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.5
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
    Reach ksmbd share on TCP/445
  2. Delivery
    Establish SMB2 session
  3. Exploit
    Send crafted SET_INFO EA request
  4. Execution
    Trigger off-by-one read in smb2_set_ea
  5. Impact
    Leak adjacent kernel memory

Vulnerability Assessment

Exploitation Conditions

Requires a running ksmbd server with at least one exported share reachable on TCP/445, and the ability to establish an SMB2 session and send a SET_INFO / FILE_FULL_EA_INFORMATION (Extended Attribute set) request against a file object - the vulnerable path is smb2_set_ea(). Limiting factors: ksmbd is not enabled in most default Linux installations (it is an optional kernel module and service), so exposure depends on an administrator deliberately running the in-kernel SMB server; and while the provided CVSS marks PR:N, reaching the EA-set operation typically presupposes a valid SMB session with write access to a share, so genuinely unauthenticated exploitation against a default configuration is not clearly established from the description and should be verified against vendor detail.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:N/A:N, base 7.5) frames this as a network-reachable, low-complexity, unauthenticated confidentiality breach. That severity should be read with caution: exercising smb2_set_ea() requires an established SMB session and the ability to issue a SET_INFO on a file object, which in most deployments implies at least share/authentication access - so PR:N likely overstates the true reachability, and PR:L is more defensible. Corroborating signals point to modest real-world urgency: EPSS is only 0.04% (11th percentile), there is no CISA KEV listing, and no public POC is referenced. The impact is scoped to information disclosure (an OOB read leaking kernel memory), not code execution or integrity loss, though a malformed read could also risk a crash (potential availability impact not reflected in the given vector). Net: patch on normal cadence for systems actually running ksmbd; this is not an emergency for the typical estate.

Exploit ScenarioDerived

An attacker who can reach an exported ksmbd share opens an SMB session and issues an SMB2 SET_INFO request carrying a crafted FILE_FULL_EA_INFORMATION structure whose EA name length sits exactly at the buffer boundary. The under-sized validation lets ksmbd read past the intended buffer, returning fragments of adjacent kernel memory that may include pointers or other sensitive data. No public exploit code is referenced, and low attack complexity (AC:L) means a working exploit would be reliable once the memory layout is understood.

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

AnalysisAIv3 – Jul 30, 2026

Out-of-bounds buffer handling in the Linux kernel's ksmbd (in-kernel SMB3 server) Extended Attribute code allows a remote attacker to disclose adjacent kernel memory by sending a crafted SMB2 SET_INFO request. The smb2_set_ea() function validated the request buffer without accounting for the null-terminator byte of the EA name, so the size check under-counted the required length and permitted reads past the intended boundary. No public exploit is identified at time of analysis and EPSS probability is low (0.04%), but a vendor/upstream fix is available and it is not listed in CISA KEV.

Earlier versions of this analysis (2)
v2 Jul 30, 2026 - 07:10 cvss changed CVSS 7.5

Out-of-bounds buffer read in the Linux kernel's ksmbd in-kernel SMB3 server allows information disclosure via the smb2_set_ea() Extended Attribute handler, which under-validates buffer length by omitting the null-terminator byte (+1) of the EA name. The tag classifies this as Information Disclosure, and a fix has shipped in the mainline/stable kernel and via Ubuntu USN-8177-1. There is no public exploit identified at time of analysis, and EPSS is very low (0.04%, 11th percentile); it is not listed in CISA KEV.

v1 Mar 12, 2026 - 21:54

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

ksmbd: fix buffer validation by including null terminator size in EA length

The smb2_set_ea function, which handles Extended Attributes (EA), was performing buffer validation checks that incorrectly omitted the size of the null terminating character (+1 byte) for EA Name.

RemediationAI

Apply the upstream fix available as stable kernel commits (see https://git.kernel.org/stable/c/95d7a890e4b03e198836d49d699408fd1867cb55 and the sibling commits) by upgrading to the patched kernel shipped by your distribution; Ubuntu users should install the kernel update from USN-8177-1 (https://ubuntu.com/security/notices/USN-8177-1) and reboot. Because an exact upstream tagged release version is not stated in the input, confirm the fixed package version against your distro's advisory before deployment. As a compensating control where patching must be delayed, disable the ksmbd service if it is not required (systemctl stop/disable ksmbd and unload the ksmbd kernel module), which fully removes the attack surface at the cost of losing in-kernel SMB serving; if ksmbd must stay online, restrict TCP/445 with host and network firewall rules to trusted management networks only, accepting that this breaks SMB access for any client not on the allowlist. There are no reliable in-kernel workarounds for the parsing flaw itself short of the patch.

Affected ProductsAI

The Linux kernel's ksmbd in-kernel SMB server component is affected. Exact vulnerable and fixed version ranges are not enumerated in the provided data, but the fix landed across multiple stable branches per the kernel.org stable commits (6dc8cf6e7998ef7aeb9383a4c2904ea5d22fa2e4, 95d7a890e4b03e198836d49d699408fd1867cb55, a28a375a5439eb474e9f284509a407efb479c925, cae52c592a07e1d3fa3338a5f064a374a5f26750, and d26af6d14da43ab92d07bc60437c62901dc522e6), indicating several maintained kernel lines were patched. Distribution-level exposure is confirmed for Ubuntu via advisory USN-8177-1 (https://ubuntu.com/security/notices/USN-8177-1), with an additional third-party writeup at VulDB (https://vuldb.com/?id.340647). No CPE strings were provided in the source data, so precise affected-version boundaries should be confirmed against each distributor's advisory.

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

ksmbd is the Linux kernel's native SMB2/SMB3 file-server implementation (an in-kernel alternative to userspace Samba), reachable over TCP/445. The flaw lives in smb2_set_ea(), which processes FILE_FULL_EA_INFORMATION structures carrying Extended Attributes. Each EA entry declares an EaNameLength; the name is stored null-terminated, so the true consumed space is EaNameLength + 1. The validation logic omitted that trailing byte when checking the entry against the remaining buffer, allowing the parser to walk one byte (and, cumulatively across entries, further) beyond validated bounds. This is a classic off-by-one length-validation error (CWE-125 out-of-bounds read / CWE-193 off-by-one class); the CWE field was not populated by NVD in the source data.

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 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable low-complexity OOB read leaking kernel memory, but exercising smb2_set_ea() needs an authenticated SMB session so PR:L; confidentiality-only, no integrity/availability impact per the description.

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

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
High
Integrity
None
Availability
None

Lifecycle Timeline

4
Analysis Updated
Jul 30, 2026 - 07:12 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 07:10 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.5 (HIGH)
CVE Published
Jan 13, 2026 - 16:16 nvd
N/A

DescriptionCVE.org

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

ksmbd: fix buffer validation by including null terminator size in EA length

The smb2_set_ea function, which handles Extended Attributes (EA), was performing buffer validation checks that incorrectly omitted the size of the null terminating character (+1 byte) for EA Name. This patch fixes the issue by explicitly adding '+ 1' to EaNameLength where the null terminator is expected to be present in the buffer, ensuring the validation accurately reflects the total required buffer size.

Executive ViewAI

Why It Matters

A vulnerability in the Linux kernel's ksmbd SMB server allows remote attackers to read sensitive kernel memory through crafted SMB2 requests, creating an information disclosure risk for organizations exposing SMB services to untrusted networks. This affects systems running affected kernel versions with ksmbd enabled. While no public exploit is identified at time of analysis, the low technical complexity of the attack vector warrants prompt patching to prevent unauthorized disclosure of sensitive kernel memory.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Prevalence
Medium
in-kernel SMB server, optional module not enabled by default in most Linux estates
Data Quality
4 sources
Confidence: Medium

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
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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: Moderate
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