Skip to main content

Linux Kernel ksmbd EUVDEUVD-2026-28682

| CVE-2026-43376 CRITICAL
Use After Free (CWE-416)
2026-05-08 Linux GHSA-3v8x-c22j-hv4q
9.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Establish SMB connection
  2. Delivery
    Send concurrent oplock requests
  3. Exploit
    Trigger oplock_info deallocation
  4. Install
    Win race in opinfo_get() RCU reader
  5. C2
    Corrupt freed memory refcount
  6. Execute
    Execute arbitrary kernel code
  7. Impact
    Escalate to root privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

ksmbd kernel module must be loaded and actively serving SMB shares - NOT enabled by default in major Linux distributions (requires explicit 'modprobe ksmbd' or systemd service start). Server must be reachable over TCP port 445 (SMB) from attacker network position. No authentication required for initial SMB negotiation and oplock request processing (PR:N confirmed by CVSS vector), though exploitation success depends on winning race condition between RCU read-side critical section entry in opinfo_get() and kfree() execution in concurrent cleanup path. Race window timing varies by kernel preemption model, CPU core count, and workload - CONFIG_PREEMPT_RT reduces window, making exploitation harder on real-time kernels. Successful exploitation requires heap manipulation capabilities to place attacker-controlled data in freed oplock_info memory region, typically achieved through repeated SMB session establishment/teardown to groom slab allocator state. Default SELinux or AppArmor policies do not prevent ksmbd network access. Attack surface exists only for systems explicitly configured as SMB file servers using in-kernel implementation rather than user-space Samba.

Impact

CVSS 9.8 (AV:N/AC:L/PR:N/UI:N) indicates maximum exploitability - remote unauthenticated access with low complexity - but requires nuanced interpretation against real-world risk signals. EPSS 0.02% (5th percentile) and absence from CISA KEV strongly suggest theoretical rather than actively exploited threat. The contradiction arises because: (1) ksmbd is not default-enabled in major distributions, dramatically limiting attack surface; (2) exploitation requires winning a race condition between RCU grace period timing and concurrent oplock operations, raising practical complexity beyond CVSS AC:L; (3) no public POC exists demonstrating reliable exploitation. SSVC factors: exploitation=none (no KEV, no POC), automatable=no (race condition), technical impact=total (code execution). Real-world priority should be MEDIUM for systems explicitly running ksmbd in production SMB environments, LOW for default Linux installations where ksmbd is inactive. The high CVSS reflects worst-case reachability assumptions that don't account for deployment realities or race condition timing constraints.

Exploit ScenarioDerived

Attacker establishes SMB connection to ksmbd-enabled Linux server and initiates concurrent oplock operations (opportunistic locks for file caching). By sending crafted sequences of SMB2 CREATE requests with specific oplock level flags, attacker triggers oplock_info allocation and rapid deallocation through file close operations. Simultaneously, attacker floods server with additional requests designed to invoke opinfo_get() RCU readers while oplock_info structures are in freed state. Successful race condition causes atomic_inc_not_zero() to operate on freed memory containing attacker-controlled heap data (sprayed via prior allocations), allowing manipulation of refcount or function pointers. Exploiting use-after-free enables arbitrary code execution in kernel context, bypassing all user-space security boundaries.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

Use-after-free in Linux kernel ksmbd allows remote unauthenticated attackers to execute arbitrary code, escalate privileges, or cause denial of service by racing oplock_info access during concurrent RCU read operations. The vulnerability stems from immediate kfree() without RCU grace period, enabling opinfo_get() to call atomic_inc_not_zero() on freed memory. CVSS 9.8 reflects network exploitability without authentication, though EPSS score of 0.02% (5th percentile) suggests minimal observed exploitation attempts. Vendor patches available across multiple kernel versions (6.6.130, 6.12.78, 6.18.19, 6.19.9, 7.0) with fixes referenced in five upstream commits. Not listed in CISA KEV; no public exploit code identified at time of analysis.

RemediationAI

Upgrade to patched Linux kernel versions: 6.6.130+ for 6.6.x series, 6.12.78+ for 6.12.x series, 6.18.19+ for 6.18.x series, 6.19.9+ for 6.19.x series, or 7.0+ for mainline. Verify patch integration by checking for commits 302fef75512b, 08aa9f3c8cf4, 1d6abf145615, ce8507ee82c8, or 1dfd062caa16 in kernel changelogs available at https://git.kernel.org/stable/. Distribution users should apply security updates through package managers (apt, dnf, zypper) when vendors release patched kernel packages. If immediate patching is unfeasible, disable ksmbd module entirely via 'rmmod ksmbd' and block autoloading with 'echo "install ksmbd /bin/true" > /etc/modprobe.d/disable-ksmbd.conf', then restart. This mitigation eliminates attack surface but breaks SMB server functionality - acceptable for systems not requiring kernel-mode SMB sharing. Alternative: restrict ksmbd network access via firewall rules (block ports 445, 139) to trusted management networks only, reducing exposure to remote attacks while maintaining local functionality. This partial mitigation does not address privilege escalation risk from local authenticated users. Do not rely on ksmbd access controls alone, as race condition occurs before authentication layer.

Affected VersionsENISA

Linux patch: 6.6.130
Linux d54ab1520d43e95f9b2e22d7a05fc9614192e5a5 <08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c
Linux 18b4fac5ef17f77fed9417d22210ceafd6525fc7 <ce8507ee82c888126d8e7565e27c016308d24cde
Linux patch: 0
Linux 18b4fac5ef17f77fed9417d22210ceafd6525fc7 <1dfd062caa165ec9d7ee0823087930f3ab8a6294
Linux 18b4fac5ef17f77fed9417d22210ceafd6525fc7 <1d6abf145615dbfe267ce3b0a271f95e3780e18e
Linux 296cb5457cc6f4a754c4ae29855f8a253d52bcc6 <302fef75512b2c8329a3f5efab1ae7ba2562387a
Linux patch: 7.0
Linux patch: 6.18.19
Linux d73686367ad68534257cd88a36ca3c52cb8b81d8
Linux patch: 6.19.9
Linux patch: 6.12.78
Linux 6.15

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

The ksmbd server (kernel-mode SMB server introduced in Linux 5.15) uses RCU (Read-Copy-Update) synchronization for oplock_info structures to allow lock-free concurrent reads. RCU requires deferred freeing through call_rcu() to ensure grace period completion before memory reclamation. The vulnerable code path in opinfo_get() performs atomic_inc_not_zero() on reference counts within RCU critical sections, assuming structure validity. Immediate kfree() violates RCU's fundamental invariant that readers can safely dereference pointers obtained before grace period expiry. CPE strings (cpe:2.3:a:linux:linux) indicate Linux kernel packages containing ksmbd module. The bug class resembles classic RCU use-after-free patterns seen in other kernel subsystems, where synchronization primitives are mismatched with memory management strategies. EUVD version data shows affected commit ranges starting from 18b4fac5ef17 and d54ab1520d43, with fixes landed in commits 302fef75512b, 08aa9f3c8cf4, 1d6abf145615, ce8507ee82c8, and 1dfd062caa16 across 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

Vendor (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
May 11, 2026 - 08:22 NVD
9.8 (CRITICAL)
Patch available
May 08, 2026 - 16:18 EUVD
CVE Published
May 08, 2026 - 14:21 nvd
CRITICAL 9.8
CVE Published
May 08, 2026 - 14:21 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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

ksmbd: fix use-after-free by using call_rcu() for oplock_info

ksmbd currently frees oplock_info immediately using kfree(), even though it is accessed under RCU read-side critical sections in places like opinfo_get() and proc_show_files().

Since there is no RCU grace period delay between nullifying the pointer and freeing the memory, a reader can still access oplock_info structure after it has been freed. This can leads to a use-after-free especially in opinfo_get() where atomic_inc_not_zero() is called on already freed memory.

Fix this by switching to deferred freeing using call_rcu().

Executive ViewAI

Why It Matters

A critical use-after-free vulnerability in Linux kernel ksmbd (SMB/CIFS server) allows unauthenticated remote attackers to execute arbitrary code or crash systems via a race condition in memory management. This affects organizations running Linux-based file servers or SMB services; while patch availability exists, the CRITICAL CVSS 9.8 and network-exploitable nature require immediate prioritization despite current low exploitation signals.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If patching is delayed beyond 48 hours, disable ksmbd kernel module (modprobe -r ksmbd) or restrict SMB port access (445/TCP) via host firewall to trusted networks only; these are interim measures only and do not eliminate risk.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
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.0%
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
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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