Skip to main content

Linux Kernel ksmbd EUVDEUVD-2026-59391

| CVE-2026-72492 HIGH
2026-08-15 Linux GHSA-h9qg-8gf5-6w98
8.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid SMB credentials for ksmbd server
  2. Delivery
    Open multiple file handles sharing an SMB2 lease
  3. Exploit
    Issue concurrent CLOSE and oplock negotiation requests
  4. Execution
    Win race: opinfo freed while caller holds dangling pointer
  5. Persist
    Dereference freed kernel heap object in smb_grant_oplock()
  6. Impact
    Kernel memory disclosure or code execution

Vulnerability Assessment

Exploitation Conditions

Exploitation requires a valid, authenticated SMB session to the target server: the attacker must possess credentials accepted by the ksmbd server (CVSS PR:L confirmed). The vulnerability is only present when the ksmbd kernel module is loaded and serving SMB traffic - Linux systems using Samba or not running any SMB server are not affected by this specific flaw. The attack requires the ability to open multiple file handles on the same SMB share and issue concurrent CLOSE and oplock negotiation operations, which is standard SMB2 client behavior and does not require any elevated share permissions. Exploitation is limited by race-condition timing - a single attempt has low success probability, but repeated attempts increase the odds of triggering the UAF. No non-default configuration or special feature flag is required beyond ksmbd being active as the SMB backend.

Impact

The upstream CVSS 3.1 score of 8.8 with AC:L likely overstates exploitability: winning a kernel race condition reliably in a production environment is a non-trivial timing challenge, making AC:H a more accurate characterization of attack complexity. The EPSS score of 0.18% (8th percentile) strongly supports limited real-world exploitation and corroborates the absence of a KEV listing - suggesting this is not a widely weaponized issue at present. That said, even a mid-sized municipal IT team in bytom operating a Linux-based file server with ksmbd enabled should treat patching as urgent, because the impact triad (C:H/I:H/A:H) represents a full kernel compromise if exploitation succeeds, and only low-privilege SMB credentials are required to attempt the attack. The CVSS signals high severity and the EPSS signals low immediacy - a reasonable interpretation is that this is a real and serious vulnerability that has not yet attracted exploitation tooling, making the patch window meaningful. No conflicting data between sources is observed, though the CWE omission is a minor gap in the authoritative record.

Exploit ScenarioDerived

An attacker with valid SMB credentials connects to a Linux server running ksmbd and opens multiple file handles on a share, negotiating SMB2 leases that share a common opinfo object. The attacker's client then concurrently issues CLOSE requests and oplock-related operations from separate threads to race same_client_has_lease() - attempting to free the opinfo via one thread while another thread is mid-dereference in smb_grant_oplock(). If the race is won, the attacker may read or corrupt freed kernel heap memory, potentially pivoting to arbitrary kernel code execution. No public POC is known at time of analysis, and reliable exploitation requires winning a kernel-level race condition, adding meaningful practical difficulty.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Aug 17, 2026

Use-after-free in the Linux kernel's ksmbd in-kernel SMB server allows a low-privileged authenticated SMB client to dereference freed kernel memory, potentially achieving arbitrary kernel-level code execution or sensitive information disclosure. The race condition exists between same_client_has_lease() releasing ci->m_lock without holding a reference on the returned opinfo pointer and a concurrent SMB CLOSE operation freeing that same object. Affected kernels span the 5.15 through 7.1 stable series; patches are confirmed available across all branches. No public exploit code or CISA KEV listing has been identified at time of analysis, and an EPSS of 0.18% (8th percentile) indicates no currently observed widespread exploitation.

RemediationAI

Upgrade to the patched stable release for the deployed kernel branch: 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, or 7.1.5. Individual backported fixes are available in the Linux stable tree - for example, https://git.kernel.org/stable/c/7c3264d273d524aa6adcce23c01087271f13586f (6.1 series) and https://git.kernel.org/stable/c/aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0 (6.12 series) among others. If immediate kernel patching is not feasible, the most effective compensating control is to unload the ksmbd module (modprobe -r ksmbd) and migrate the SMB workload to Samba (userspace), which is unaffected by this kernel-level flaw; the trade-off is a service migration effort and potential performance differences. As a lighter-weight network-level control, restrict access to TCP port 445 at the perimeter and host firewall to only trusted client subnets - this reduces the attacker pool to authenticated users already on the network but does not eliminate the vulnerability. Do not rely on network segmentation alone for high-value servers.

Affected VersionsENISA

Linux patch: 6.1.178
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <7c3264d273d524aa6adcce23c01087271f13586f
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <09634cd055d9bd8dd167995ea52bcd8028dd5dac
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <0ff82a9cf9312678d8bc4edeef0b6e82659ac12a
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <79c7c59bb519db6f5a2a151965e825ec725614cc
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0
Linux 5.15
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <35d3d6ff2bc1e7aaecb15d5377ebbd6227acae0d
Linux patch: 5.15.212
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <65b655f65c3ca1ab5d598d3832bb0ff531725858
Linux patch: 6.12.97
Linux patch: 7.2-rc1
Linux patch: 0
Linux patch: 6.18.40
Linux patch: 7.1.5
Linux patch: 6.6.145

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 in-kernel SMB3 server implementation merged into the Linux mainline in kernel 5.15, residing under fs/smb/server/. The flaw is in same_client_has_lease() in the oplock subsystem: the function retrieves an opinfo pointer from the per-inode ci->m_op_list structure and returns it after releasing ci->m_lock, without incrementing the object's reference count. The caller, smb_grant_oplock(), subsequently dereferences this pointer in copy_lease() and when evaluating breaking_cnt. A concurrent SMB CLOSE on a different file descriptor sharing the same lease object can remove the opinfo from ci->m_op_list and drop the final reference, freeing the memory while the caller still holds a dangling pointer - a classic TOCTOU use-after-free pattern (CWE-416). Although the CWE field in the source data is listed as N/A, the commit description unambiguously describes CWE-416. CPE cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* covers all affected branches from the ksmbd introductory commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 onward.

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

Race condition exploitation requires precise timing (AC:H); SMB authentication required (PR:L); full kernel impact if successful (C/I/A:H).

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

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Aug 17, 2026 - 06:22 NVD
8.8 (HIGH)
Patch available
Aug 15, 2026 - 07:20 EUVD
CVE Published
Aug 15, 2026 - 05:57 cve.org
HIGH 8.8
CVE Published
Aug 15, 2026 - 05:57 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

ksmbd: fix use-after-free in same_client_has_lease()

same_client_has_lease() returns an opinfo pointer from ci->m_op_list after dropping ci->m_lock without taking a reference.

smb_grant_oplock() then dereferences that pointer in copy_lease() and when checking breaking_cnt. A concurrent close can remove the old lease from ci->m_op_list and drop the last reference before the caller uses the returned pointer, leading to a use-after-free.

Take a reference when same_client_has_lease() selects an existing lease, drop any previous match while scanning, and release the returned reference in smb_grant_oplock() after copying the lease state.

Executive ViewAI

Why It Matters

The Linux kernel's ksmbd in-kernel SMB server contains a use-after-free vulnerability (CVSS 8.8) affecting versions 5.15 through 7.1 that could enable kernel-level code execution through low-privileged authenticated users, directly impacting organizations offering network file sharing or Windows interoperability services. While current exploitation remains minimal with no public exploits identified, patched kernels are immediately available, making rapid deployment essential to eliminate a high-severity kernel-level attack vector.

Business Impact: High
Compensating Controls

Apply vendor patch. As an interim measure until patching is complete, disable the ksmbd module if in-kernel SMB services are not operationally required, or restrict SMB access to trusted networks only via firewall rules to reduce authenticated attack surface.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
ksmbd not default; most Linux SMB deployments use Samba userspace
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.2%
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
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 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