Skip to main content

Linux ksmbd EUVDEUVD-2026-87062

| CVE-2026-98162 MEDIUM
Memory Leak (CWE-401)
2026-09-25 Linux GHSA-x6qh-h8p9-5c4q
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate SMB session to ksmbd
  2. Delivery
    Issue repeated tree-connect requests
  3. Exploit
    Trigger response-pin allocation failure
  4. Execution
    Leak tree-connection objects
  5. Impact
    Exhaust kernel memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Requires the Linux in-kernel SMB server (ksmbd / CONFIG_SMB_SERVER) to be built and running with at least one share exported - a non-default configuration on the vast majority of Linux systems. Exploitation requires an authenticated SMB session (PR:L) able to reach smb2_tree_connect(). The leak is further gated on the ksmbd_iov_pin_rsp() response-pinning step failing (a NOMEM/allocation-failure condition), which is not directly attacker-controlled and limits reliable triggering; impact is limited to slow kernel memory exhaustion rather than compromise.

Impact

This is a genuinely moderate, low-priority issue rather than a false high. All signals align downward: the input CVSS is 5.5 (MEDIUM), EPSS is 0.14% (3rd percentile), there is no CISA KEV listing, and no public exploit was identified. The CWE-401 memory leak maps to the CVSS impact profile (C:N/I:N/A:H) - the only consequence is gradual kernel memory exhaustion (a denial-of-service), not code execution or data exposure. One signal conflict warrants attention: the supplied CVSS uses AV:L (local), yet ksmbd is Linux's in-kernel SMB3 server and smb2_tree_connect() is reached over the network after an authenticated session is established, which argues for a network vector - verify the attack vector with the kernel CNA, as it materially affects reach. The PR:L metric is consistent with the fact that tree-connect only occurs after SMB session setup, so some authentication is required. The leak path also depends on ksmbd_iov_pin_rsp() failing (a memory-allocation/NOMEM condition), which is not directly attacker-controlled, further lowering practical exploitability. Net: a defensible medium that should be patched in the normal cycle, not an emergency.

Exploit ScenarioDerived

An attacker with valid credentials to an exposed ksmbd share repeatedly opens SMB2 tree connections; each time the server fails to pin the response buffer (under memory pressure), the tree-connection object, its counter, and share reference are leaked rather than disconnected. Sustained over time this slowly exhausts kernel memory, degrading or crashing the host. No public exploit code was identified at time of analysis, and the leak only triggers on the allocation-failure path, making reliable exploitation difficult.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Oct 02, 2026

Kernel memory exhaustion in the Linux kernel's ksmbd SMB server can be triggered by an authenticated remote attacker through a tree connection leak in smb2_tree_connect(). The flaw occurs when ksmbd_iov_pin_rsp() fails with a NOMEM error after the tree connection has been stored and counted, leaving it allocated and unreleased; repeated failures slowly exhaust kernel memory. Exploitation requires the non-default ksmbd configuration with an exported share and is rated high complexity with low availability impact; no public exploit code has been identified, and EPSS is 0.14% (3rd percentile).

RemediationAI

Apply the vendor-released patch by updating to a Linux kernel version containing the fix, such as 7.2.6 or later (or 7.3-rc1), or apply the upstream stable commits at https://git.kernel.org/stable/c/a6c88e5e3a75f1e4a98ad4bc4037465ccd7925bc and https://git.kernel.org/stable/c/39f2032096715daae5f6fd0f587ca7a474b019df. If ksmbd is not required, the most effective mitigation is to disable it entirely by building the kernel without CONFIG_SMB_SERVER or by not loading the ksmbd module; this removes SMB server functionality with no side effects on unrelated services. If ksmbd must remain, restrict SMB access to trusted networks or authenticated users, and monitor kernel memory usage for abnormal growth to detect leak attempts. There is no meaningful workaround other than patching or disabling the service, as the leak is triggered internally on allocation failure; blocking network access to the SMB port (typically 445/tcp) provides defense in depth but can disrupt legitimate file-sharing users.

Affected VersionsENISA

Linux patch: 7.3-rc1
Linux 6.1.71 <6.2
Linux 5.15.145 <5.16
Linux e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d <a6c88e5e3a75f1e4a98ad4bc4037465ccd7925bc
Linux f2283680a80571ca82d710bc6ecd8f8beac67d63
Linux 9f297df20d93411c0b4ddad7f88ba04a7cd36e77
Linux e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d <39f2032096715daae5f6fd0f587ca7a474b019df
Linux 6.6
Linux patch: 0
Linux patch: 7.2.6

Affected Packages

euvd linux fix: 5.16, 6.2

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

The vulnerability resides in ksmbd, the in-kernel SMB server for the Linux kernel (CONFIG_SMB_SERVER). In smb2_tree_connect(), the function ksmbd_tree_conn_connect() allocates a tree connection, stores it in the session's tree_conns xarray via xa_store(), increments the KSMBD_COUNTER_TREE_CONNS counter, and calls ksmbd_share_tree_conn_inc(). If the subsequent ksmbd_iov_pin_rsp() fails (e.g., due to memory allocation failure), the code returns KSMBD_TREE_CONN_STATUS_NOMEM without disconnecting or freeing the newly created tree_conn, resulting in a CWE-401 missing release of memory. CPE data identifies the affected product as cpe:2.3:a:linux:linux. Our independent assessment rates this as CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L, reflecting the need for an authenticated SMB session, the high complexity of reliably inducing the allocation failure, and the limited impact of gradual memory exhaustion.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 3.1 LOW

ksmbd is network-reachable so AV:N; tree-connect needs an authenticated session (PR:L); the leak only fires on an allocation-failure path not attacker-controlled (AC:H); slow memory leak yields A:L, no C/I impact.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Oct 02, 2026 - 20:52 NVD
5.5 (MEDIUM)
Patch available
Sep 25, 2026 - 14:18 EUVD
CVE Published
Sep 25, 2026 - 13:06 nvd
MEDIUM 5.5
CVE Published
Sep 25, 2026 - 13:06 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

smb/server: fix tree connection leak in smb2_tree_connect()

See the procedure below:

smb2_tree_connect ksmbd_tree_conn_connect xa_store(&sess->tree_conns, tree_conn->id, tree_conn) ksmbd_counter_inc(KSMBD_COUNTER_TREE_CONNS) ksmbd_share_tree_conn_inc(sc) ksmbd_iov_pin_rsp // fail status.ret = KSMBD_TREE_CONN_STATUS_NOMEM // do not disconnect tree_conn

Disconnect the new tree connection if ksmbd_iov_pin_rsp() fails.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
Linux kernel is ubiquitous but the ksmbd in-kernel SMB server is rarely enabled
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

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 Affected

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