Skip to main content

Linux Kernel CVE-2025-39975

CRITICAL
2025-10-15 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Critical
Disputed · 9.8 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 mount malicious SMB server
  2. Delivery
    Client sends compound SMB2 request
  3. Exploit
    Server returns crafted compound response
  4. Execution
    Wrong index exceeds MAX_COMPOUND in smb2_compound_op
  5. Persist
    Out-of-bounds kernel memory access
  6. Impact
    Kernel crash or memory corruption

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the target Linux host to act as an SMB2/3 client and establish a session against an attacker-controlled or man-in-the-middled SMB server, then process a compound (chained) SMB2 response whose framing drives the miscomputed index to or beyond MAX_COMPOUND. The specific trigger is server-supplied compound response buffers being indexed incorrectly in smb2_compound_op(); therefore the host must mount/connect to the malicious server and perform compounded operations. Limiting factors: the victim must initiate or maintain an SMB connection to the attacker's server (not reachable against a host that never mounts untrusted shares), and connections protected by enforced SMB signing/encryption resist the man-in-the-middle variant. Despite the CVSS AV:N/AC:L/PR:N/UI:N vector, this is not exploitable against arbitrary hosts with no interaction - the SMB-client-to-malicious-server precondition is the real gating factor.

Impact

The signals conflict and warrant caution. The CNA (kernel.org) assigned CVSS:3.1 AV:N/AC:L/PR:N/UI:N = 9.8, which treats this as trivially remotely exploitable - but that overstates real risk for a client-side flaw: exploitation requires the victim host to establish an SMB session with an attacker-controlled or man-in-the-middled server, which is a meaningful precondition (effectively raising attack complexity and adding user/operator action). EPSS is very low at 0.19% (8th percentile), there is no KEV listing (not confirmed actively exploited), and no public exploit identified at time of analysis, all pointing to low near-term weaponization. Balanced view: this is a legitimate kernel memory-safety bug worth patching on hosts that mount SMB shares from untrusted networks, but it is not a drop-everything internet-facing RCE - the headline 9.8 reflects worst-case scoring assumptions rather than demonstrated mass-exploitable risk. Verify: CVSS marks UI:N/AC:L, yet the code path requires connecting to a malicious server, so treat the effective conditions as more restrictive than the vector implies.

Exploit ScenarioDerived

An attacker who controls an SMB server (or can man-in-the-middle SMB traffic on an unsigned/unencrypted connection) waits for or induces a Linux client to mount a share and issue compound SMB2 operations. The malicious server returns a crafted compound response that triggers the wrong-index path in smb2_compound_op(), driving an out-of-bounds access in kernel memory to crash the host or corrupt kernel state. No public exploit is identified at time of analysis, so this remains a plausible but unproven attack path.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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

Out-of-bounds memory access in the Linux kernel's in-kernel SMB/CIFS client (smb2_compound_op() in fs/smb/client) stems from wrong index references when iterating over compound SMB2 response buffers; a computed index at or above MAX_COMPOUND drives reads/writes past the response array. A machine mounting a share from a malicious or compromised SMB server can have its kernel process attacker-influenced compound responses, leading to memory corruption, denial of service, or potential privilege escalation. It carries a CNA-assigned CVSS 9.8, but there is no public exploit identified at time of analysis and EPSS is very low (0.19%, 8th percentile), so real-world exploitation pressure is currently minimal.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the kernel update from your distribution that incorporates the stable commits (093615fc7606, ba7bcfd52c66, bfb1e2aad1fe, fbe2dc6a9c73 at git.kernel.org/stable) and reboot, since the fix corrects the response-buffer indexing in smb2_compound_op(). If you cannot patch immediately, reduce exposure by ensuring hosts only mount SMB shares from trusted, authenticated servers, enforce SMB signing/encryption (seal) to prevent man-in-the-middle response tampering, and restrict outbound/inbound SMB (TCP 445) to known file servers via firewall rules - note the trade-off that mandatory signing/encryption adds CPU overhead and blocking 445 breaks legitimate cross-network share access. On systems that never mount remote SMB shares, blacklisting/unloading the cifs kernel module removes the attack surface entirely, at the cost of losing SMB client functionality.

Affected ProductsAI

The affected product is the mainline Linux kernel, specifically the in-kernel SMB client (cifs/smb-client) code in fs/smb/client where smb2_compound_op() resides. No specific vendor CPE list or exact version range was provided in the input; affected versions are those carrying the buggy indexing prior to the stable fixes. The fix is distributed across stable-tree commits at git.kernel.org: 093615fc76063ea08d454ba86677ce64c736e806, ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5, bfb1e2aad1fecef8320fd71332acde0d53a8d699, and fbe2dc6a9c7318f7263f5e4d50f6272b931c5756, indicating multiple maintained stable branches received backports. Consult your distribution's kernel advisory to map these commits to a packaged kernel build version for your specific release.

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 affected component is the Linux kernel's native SMB3 client (the cifs/smb-client module used for mounting Windows/Samba shares). SMB2/3 supports 'compounding,' where multiple related operations (e.g., create, query, close) are packed into a single request and returned as a chained set of responses. smb2_compound_op() loops over these chained responses to map each command to its result buffer. The bug is a wrong-index (off-by/mis-mapped index) defect: the loop dereferences response buffers with an incorrect index, so results are attributed to the wrong command and, when the miscomputed index reaches or exceeds MAX_COMPOUND (the fixed bound on operations in a compound), the access falls outside the array. Although the CWE is listed as N/A, this is a classic out-of-bounds access (CWE-125/CWE-787 family), consistent with the input's 'Buffer Overflow' tag. Root cause is untrusted, server-controlled response framing being indexed without a correct/bounded mapping.

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

Sources disagree (Medium–Critical)
Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Requires the client to connect to an attacker-controlled/MITM SMB server and hit the compound path, so UI:R and AC:H; kernel OOB access yields 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:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 6.1 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
Red Hat 5.8 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

DescriptionCVE.org

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

smb: client: fix wrong index reference in smb2_compound_op()

In smb2_compound_op(), the loop that processes each command's response uses wrong indices when accessing response bufferes.

This incorrect indexing leads to improper handling of command results. Also, if incorrectly computed index is greather than or equal to MAX_COMPOUND, it can cause out-of-bounds accesses.

Executive ViewAI

Why It Matters

A critical Linux kernel vulnerability in the SMB/CIFS file-sharing client (CVE-2025-39975) could allow attackers on compromised SMB servers to crash systems or escalate privileges on any connected Linux infrastructure. While no public exploit is currently identified and real-world exploitation pressure remains minimal, the unavailability of vendor patches means organizations depending on SMB file shares face sustained, unmitigated exposure requiring immediate inventory and network controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: limit SMB client connections to authenticated internal servers and reject external connections; apply kernel hardening (ASLR, stack canaries, CFI); disable SMB/CIFS on systems that do not require it; implement monitoring and alerting for kernel memory access anomalies; maintain offline backups isolated from network-mounted SMB shares.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
Linux kernel with built-in SMB client ships across nearly all Linux deployments
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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 Performance Computing 15 SP7 Not-Affected

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