Skip to main content

Linux Kernel EUVDEUVD-2026-38864

| CVE-2026-52996 MEDIUM
Memory Leak (CWE-401)
2026-06-24 Linux GHSA-w2x4-6hp6-4hc7
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege SMB credentials
  2. Delivery
    Authenticate to ksmbd SMB2/3 server
  3. Exploit
    Send SMB2 CREATE with DURABLE_REQ_V2 context (CreateGuid match, ClientGUID mismatch)
  4. Execution
    ksmbd_fp_get() refcount leaked on mismatch path
  5. Persist
    Repeat at high rate to pin global_ft entries
  6. Impact
    Exhaust kernel file-table resources, deny service

Vulnerability Assessment

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

Exploitation requires: (1) the ksmbd kernel module loaded and actively serving SMB2/3 on the target system - ksmbd is not enabled by default on most mainstream distributions, so this is a non-default configuration prerequisite; (2) valid SMB credentials at any privilege level (PR:L) sufficient to issue SMB2 CREATE requests; (3) the ability to send repeated SMB2 CREATE requests with a crafted DURABLE_HANDLE_REQUEST_V2 create context containing a CreateGuid that matches an existing open entry but a ClientGUID that differs from the connection's GUID. Exploitation is limited by: the need for SMB authentication (unauthenticated remote exploitation is not possible per PR:L); the non-default nature of ksmbd deployment (most Linux servers use Samba in userspace, not ksmbd); the impact being limited to resource exhaustion/DoS with no code execution or data disclosure pathway; and the slow, cumulative nature of the leak requiring sustained request volume.

Impact

The NVD-assigned CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H scores 5.5 (Medium). The AV:L (local) designation is inconsistent with ksmbd being a network-accessible SMB service - this analyst independently assesses AV:N as more accurate since the triggering request arrives over the SMB network protocol and does not require physical or shell access to the host. PR:L is appropriate because SMB authentication (a low-privilege credential) is required to open files and craft the relevant create context. The high availability impact reflects that repeated exploitation exhausts kernel file-table resources and prevents __ksmbd_close_fd() from ever running for affected entries. EPSS of 0.19% at the 9th percentile indicates very low observed exploitation probability, consistent with the absence of a CISA KEV listing and no known public exploit. The practical exploitation bar is moderate: an attacker needs valid SMB credentials and the ability to craft repeated SMB2 CREATE requests with specific DURABLE_REQ_V2 context parameters. The impact is a slow resource leak (DoS) rather than code execution or data exposure. The 'Information Disclosure' tag in the source intelligence appears to be a mislabeling - the CVSS vector shows C:N/I:N and the description describes a pure availability/resource-exhaustion flaw with no data leakage pathway. Defenders running ksmbd on edge-facing or multi-tenant systems should prioritize patching; internal-only deployments face lower urgency given the authentication prerequisite.

Exploit ScenarioDerived

An authenticated SMB user with low-privilege credentials connects to a Linux host running ksmbd and sends a stream of SMB2 CREATE requests, each carrying a DURABLE_HANDLE_REQUEST_V2 create context whose CreateGuid is set to match a known or guessed open file entry but whose ClientGUID deliberately differs from the session's own GUID. Each request leaks one ksmbd_file reference without triggering cleanup. After thousands of iterations the global file table becomes saturated with pinned entries, blocking the durable scavenger and eventually exhausting kernel resources, causing the ksmbd service or the host to become unresponsive. No public exploit code has been identified at time of analysis, but the attack is straightforward to implement with any SMB2 library capable of crafting raw create contexts.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
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 – Jul 15, 2026

Resource exhaustion in the Linux kernel ksmbd SMB server allows a low-privileged authenticated SMB client to leak kernel file descriptor references by sending repeated SMB2 CREATE requests with a DURABLE_HANDLE_REQUEST_V2 context that produces a CreateGuid hit but a ClientGUID mismatch. Each such request increments the refcount on a ksmbd_file via ksmbd_fp_get() in ksmbd_lookup_fd_cguid() but the mismatch code path never calls the matching release, causing global_ft entries to be pinned indefinitely. Over time this defeats the durable file scavenger and causes long-lived kernel resource leaks that can degrade or deny availability. No public exploit has been identified at time of analysis and EPSS is 0.19% (9th percentile), indicating low opportunistic exploitation probability.

RemediationAI

The primary fix is to upgrade to a patched Linux kernel version: 6.6.141, 6.12.91, 6.18.33, 7.0.10, or 7.1 depending on the stable series in use. Upstream fix commits are available at https://git.kernel.org/stable/c/06f709d0e531f3e54d88665dd426be3998a774e6 (and sibling commits for other stable branches) for operators who need to backport manually. If upgrading immediately is not feasible, the most effective compensating control is to disable the ksmbd module entirely if it is not required (rmmod ksmbd; prevent autoload via /etc/modprobe.d/), which eliminates the attack surface entirely at the cost of losing in-kernel SMB serving capability. If ksmbd must remain active, restrict access to the SMB service (TCP 445) at the firewall to a minimal set of trusted client IP addresses to reduce the pool of principals that can send crafted DURABLE_REQ_V2 contexts - note this does not prevent exploitation by authorized SMB users. Additionally, monitoring for abnormal growth of kernel slab caches associated with ksmbd (ksmbd_file, ksmbd_fp) can serve as a detection signal for active exploitation.

Affected VersionsENISA

Linux patch: 7.0.10
Linux 6.9
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <06f709d0e531f3e54d88665dd426be3998a774e6
Linux 6.6.32 <6.6.141
Linux patch: 6.12.91
Linux patch: 7.1
Linux patch: 6.18.33
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <f31beef633fbf2b5af7805fa187a10bcff1d4b49
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <8c4a0ef19c8264c150833131af34541495832cd0
Linux patch: 6.6.141
Linux patch: 0
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <804054d19886ac6628883d82410f6ee42a818664
Linux 8df4bcdb0a4232192b2445256c39b787d58ef14d <407b6e699ba8b45b72cc265eed8a1bc8a7191609

Affected Packages

euvd linux fix: 6.6.141

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 in-kernel SMB2/3 server implementation introduced in Linux 5.15. The vulnerability resides in parse_durable_handle_context() when processing the SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 create context (MS-SMB2 §3.3.5.9.10). ksmbd_lookup_fd_cguid() searches the global file table for an Open whose Open.CreateGuid matches the request and increments the matched entry's reference count via ksmbd_fp_get() as a side effect. The code correctly releases this reference on all paths within the ClientGUID-match branch (via ksmbd_put_durable_fd() or by transferring ownership to dh_info->fp on successful reconnect), but omits the corresponding ksmbd_put_durable_fd() call when the CreateGuid matches and the ClientGUID does not - the 'Open not found' case per the MS-SMB2 specification. CWE-401 (Missing Release of Memory after Effective Lifetime) applies: the refcount increment is a necessary side effect of the lookup, but the corresponding decrement is absent on this branch, causing the kernel object to remain live until system reboot or manual intervention. CPE indicates affected products are cpe:2.3:a:linux:linux across multiple stable branches.

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 6.5 MEDIUM

ksmbd is network-accessible via SMB, so AV:N overrides the NVD AV:L; SMB authentication required sets PR:L; no C or I impact per description.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 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
Jul 15, 2026 - 13:07 NVD
5.5 (MEDIUM)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:29 nvd
MEDIUM 5.5
CVE Published
Jun 24, 2026 - 16:29 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

ksmbd: fix durable fd leak on ClientGUID mismatch in durable v2 open

ksmbd_lookup_fd_cguid() returns a ksmbd_file with its refcount incremented via ksmbd_fp_get(). parse_durable_handle_context() in the DURABLE_REQ_V2 case properly releases this reference on every path inside the ClientGUID-match branch, either by calling ksmbd_put_durable_fd() or by transferring ownership to dh_info->fp for a successful reconnect. However, when an entry exists in the global file table with the same CreateGuid but a different ClientGUID, the code simply falls through to the new-open path without dropping the reference obtained from ksmbd_lookup_fd_cguid().

Per MS-SMB2 section 3.3.5.9.10 ("Handling the SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 Create Context"), the server MUST locate an Open whose Open.CreateGuid matches the request's CreateGuid AND whose Open.ClientGuid matches the ClientGuid of the connection that received the request. If no such Open is found, the server MUST continue with the normal open execution phase. A CreateGuid hit with a ClientGUID mismatch is therefore the "Open not found" case: proceeding with a new open is correct, but the reference obtained purely as a side effect of the lookup must not be leaked.

Repeated requests that hit this mismatch pin global_ft entries, prevent __ksmbd_close_fd() from ever running for the corresponding files, and defeat the durable scavenger, leading to long-lived resource leaks.

Release the reference in the mismatch path and clear dh_info->fp so subsequent logic does not mistake a non-matching lookup result for a reconnect target.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
Linux kernel runs majority of global server and cloud infrastructure
Data Quality
5 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

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