Skip to main content

Linux Kernel CVE-2025-68226

HIGH
2025-12-16 416baaa9-dc9f-4396-8d5f-8c081fb06d67
8.8
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
    Lure client to malicious SMB server
  2. Delivery
    Victim mounts/reconnects share
  3. Exploit
    Manipulate responses to trigger cfid invalidation race
  4. Execution
    Free cfid while still referenced
  5. Persist
    Corrupt kernel memory
  6. Impact
    Disclose data or execute code in kernel

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the target Linux system to be running an affected stable kernel with the in-kernel SMB/CIFS client actively used to connect to an attacker-controlled or compromised SMB server - i.e., the victim must mount/reconnect an SMB share (this maps to the CVSS UI:R). The bug is reached specifically through the cached-directory invalidation code path (cfids_invalidation_worker), so cached-directory handling must be exercised, and being a use-after-free race, exploitation is timing-dependent and not guaranteed on each attempt. Limiting factors: hosts that never mount SMB shares, or only mount from trusted/controlled servers, are effectively out of scope; the cifs module must be loaded; and only stable branches carrying the incomplete backport are vulnerable, not all kernel versions.

Impact

Signals are mixed and warrant scrutiny. The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 8.8) implies an unauthenticated network-triggerable, low-complexity full-impact bug requiring only user interaction - but that scoring is optimistic for a use-after-free in the SMB *client*: exploitation realistically requires the victim to connect to or mount an attacker-controlled SMB server, and the UAF sits behind a worker-thread invalidation race, which is timing-dependent (arguing for AC:H, not AC:L). The EPSS score is low (0.15%, 5th percentile), it is NOT on CISA KEV, and no POC is referenced - so there is no evidence of real-world exploitation. This is a genuine memory-safety defect worth patching on affected stable kernels, but the practical risk is bounded by the need for the client to talk to a malicious/compromised SMB server and to win a race, making it a moderate rather than emergency priority for most fleets. Note the tag says 'Information Disclosure' while the CVSS claims I:H/A:H - verify actual impact with the kernel maintainers; the arrows point to memory corruption whose maximal impact is uncertain.

Exploit ScenarioDerived

An attacker stands up or compromises an SMB server and induces a Linux victim to mount or reconnect a share against it (e.g., an auto-mount, a lured connection, or an already-trusted-but-compromised file server). By manipulating server responses to drive the cached-directory invalidation worker while another thread still references the cfid, the attacker triggers the use-after-free to corrupt kernel memory, potentially yielding disclosure of kernel data or privileged code execution. No public POC is referenced, and success depends on winning the invalidation race.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 30, 2026

Use-after-free in the Linux kernel's SMB/CIFS client (cifs module) arises from an incomplete backport of commit bdb596ceb4b7, which left a stale kref_put() call in cfids_invalidation_worker() instead of converting it to close_cached_dir(). The flaw affects the cached-directory (cfid) invalidation path used when a Linux system mounts remote SMB shares, and with a CVSS of 8.8 (C:H/I:H/A:H) could allow memory corruption leading to information disclosure or code execution. There is no public exploit identified at time of analysis and the EPSS probability is low (0.15%).

RemediationAI

Upstream fix available (commit abd29b6e17a918fdd68352ce4813e167acc8727e); a released, tagged patched kernel version is not independently confirmed from the provided data - apply the stable-kernel update from your distribution once it lands, or backport the referenced commit (https://git.kernel.org/stable/c/abd29b6e17a918fdd68352ce4813e167acc8727e), which restores the close_cached_dir() call in cfids_invalidation_worker(). As a compensating control until patched, avoid mounting SMB/CIFS shares from untrusted or attacker-controllable servers and restrict outbound SMB (TCP 445) to known-good file servers, since exploitation requires the client to interact with a hostile server; where the cifs client is not needed, unload/blacklist the module (modprobe -r cifs / blacklist) to remove the attack surface entirely, at the cost of losing SMB mount capability. These controls reduce exposure but do not fix the underlying race.

Affected ProductsAI

The affected component is the Linux kernel SMB/CIFS client module (fs/smb/client). The specific defect exists in stable kernel branches that received the incomplete backport of commit bdb596ceb4b7; the exact affected version ranges are not enumerated in the provided data (no CPE strings were supplied). The upstream corrective commit is published at the kernel stable git tree: https://git.kernel.org/stable/c/abd29b6e17a918fdd68352ce4813e167acc8727e . Systems that mount remote SMB shares using the in-kernel cifs client are the exposed surface.

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

The vulnerability lives in the in-kernel SMB client (fs/smb/client, historically 'cifs'), specifically in the cached-directory handle machinery. The kernel caches open directory handles (cfids) to speed up repeated metadata operations against an SMB2/3 server; these are reference-counted via kref. The parent fix (bdb596ceb4b7, 'fix potential UAF in smb2_close_cached_fid()') moved from a raw kref_put() to the higher-level close_cached_dir() helper to safely tear down cached handles, but this stable-tree backport missed the corresponding kref_put() in cfids_invalidation_worker() - the worker that invalidates cached directory entries. The unconverted put can drop the final reference and free the cfid while another path still uses it, producing a classic use-after-free (root cause class CWE-416, though the record lists CWE as N/A). Because this is a backport gap, only stable branches that received the partial backport are affected, not necessarily mainline.

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

Reached over network only by connecting to a malicious SMB server (AV:N, UI:R), and the UAF is a timing-dependent worker-thread race (AC:H); kernel memory corruption supports high C/I/A.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/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 5.5 MEDIUM

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
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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

smb: client: fix incomplete backport in cfids_invalidation_worker()

The previous commit bdb596ceb4b7 ("smb: client: fix potential UAF in smb2_close_cached_fid()") was an incomplete backport and missed one kref_put() call in cfids_invalidation_worker() that should have been converted to close_cached_dir().

Executive ViewAI

Why It Matters

The Linux kernel's SMB/CIFS client contains a use-after-free vulnerability (CVE-2025-68226) that could enable memory corruption, information disclosure, or code execution on systems mounting remote SMB shares. Linux deployments using CIFS for file sharing face high-severity exposure with no vendor patch currently available. Leadership should prioritize assessment and interim mitigation of affected systems to prevent potential lateral movement or data compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable CIFS mounts if operationally feasible; restrict SMB network access via firewall rules to trusted hosts only; implement local access controls and kernel audit logging for CIFS activity; segment CIFS-exposed systems from critical infrastructure; apply hardened SELinux or AppArmor policies if available for CIFS context; monitor kernel logs for use-after-free exploitation patterns.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel; cifs client present in virtually all distributions
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 No
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 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