Skip to main content

Linux ksmbd CVE-2025-71220

HIGH
2026-02-14 416baaa9-dc9f-4396-8d5f-8c081fb06d67
High
Disputed · 7.8 NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate SMB2 session to ksmbd
  2. Delivery
    Send SMB2 CREATE for RPC pipe
  3. Exploit
    Trigger ksmbd_iov_pin_rsp failure
  4. Execution
    Leak unreleased RPC session handle
  5. Impact
    Exhaust kernel resources (availability impact)

Vulnerability Assessment

Exploitation Conditions

Requires the optional in-kernel SMB server (ksmbd / CONFIG_SMB_SERVER) to be built, enabled, and exposed - not present in default Linux deployments. The attacker must reach create_smb2_pipe(), which is invoked when an authenticated SMB2 session opens an RPC named pipe, so a valid SMB session is needed (consistent with PR:L). The missing cleanup only occurs when ksmbd_iov_pin_rsp() fails; the available sources do not describe how that failure is triggered or whether it is attacker-controlled, so reliable exploitation is unverified. Limiting factors: non-default feature, required SMB authentication, and an error path that depends on an internal pin failure rather than a directly supplied input.

Impact

The real-world risk is low despite the 7.8 'High' CVSS. The input vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) follows the generic pattern auto-assigned to nearly all Linux kernel CVEs and should be treated with suspicion: it claims full C:H/I:H/A:H impact, yet the fix is a one-line addition of ksmbd_session_rpc_close() on an error path in create_smb2_pipe(), which reads as a resource/handle leak rather than code execution or data disclosure. There is also an attack-vector conflict - ksmbd is the in-kernel SMB3 server and the affected function runs when handling SMB2 CREATE requests for RPC pipes over the network, yet the input marks AV:L (local); this discrepancy should be verified against the upstream commit. The exploitation signals all point low: EPSS is 0.03% (9th percentile), the CVE is not in CISA KEV, and no public exploit is identified at time of analysis - only vendor/advisory references exist. The vendor priority label is 'this_week', consistent with a patchable but non-emergency kernel fix. Net: this is a high-CVSS-but-low-real-risk issue gated behind a non-default feature (ksmbd) and an authenticated SMB session, with the triggering error path not shown to be attacker-controlled.

Exploit ScenarioDerived

An attacker with valid credentials for an SMB share on a Linux host running the optional in-kernel ksmbd server opens an RPC pipe via an SMB2 CREATE request; if the server's response-buffer pinning (ksmbd_iov_pin_rsp) fails during that operation, the associated RPC session handle is never released, leaking kernel resources that an attacker could repeat to degrade availability. No public exploit is identified at time of analysis, and the condition that causes the pin failure is not described in the available sources.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Nov 05, 2026

Missing cleanup in the Linux kernel's optional ksmbd SMB server leaves an RPC pipe session unreleased when ksmbd_iov_pin_rsp() fails during create_smb2_pipe(), with the authoritative assessment limiting impact to low availability on non-default, authenticated SMB deployments. Only systems that build and expose ksmbd (CONFIG_SMB_SERVER) and allow an authenticated SMB2 session to open an RPC named pipe are in scope; EPSS is 0.03% and no public exploit identified at time of analysis. The authoritative vector is AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L, so the NVD 7.8 High score overstates confidentiality and integrity impact.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 22:03

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

smb/server: call ksmbd_session_rpc_close() on error path in create_smb2_pipe()

When ksmbd_iov_pin_rsp() fails, we should call ksmbd_session_rpc_close().

RemediationAI

Patch status is vendor patch available, but the input does not provide an exact released kernel version; apply a kernel update containing the referenced stable commits (04dd114b682a4ccaeba2c2bad049c8b50ce740d8, 2b7b4df87fe6f2db6ee45f475de6b37b8b8e5d29, 7c28f8eef5ac5312794d8a52918076dcd787e53b, a2c68e256fb7a4ac34154c6e865a1389acca839f, ac18761b530b5dd40f59af8a25902282e5512854 and fdda836fcee6fdbcccc24e3679097efb583f581f) or install the distribution update described at https://ubuntu.com/security/notices/USN-8278-1. If immediate patching is not possible, disable or unload the ksmbd module and block SMB port 445 at the network boundary; that removes the optional SMB server and breaks SMB file-sharing workflows that depend on it. Restricting SMB access to trusted authenticated users reduces exposure but does not fix the missing cleanup on the ksmbd_iov_pin_rsp() error path.

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

ksmbd is the in-kernel SMB3 server in the Linux kernel, enabled through CONFIG_SMB_SERVER and absent from default deployments. create_smb2_pipe() is the path used when an authenticated SMB2 client opens an RPC named pipe, and ksmbd_iov_pin_rsp() pins the response buffer for transmission; when that pin operation fails, the error path omits ksmbd_session_rpc_close(), leaving the RPC pipe session/handle without its normal cleanup. The input assigns no CWE, but the pattern is an error-path resource-lifecycle failure rather than a directly attacker-supplied memory corruption. The CPE data identifies linux:linux_kernel with wildcard version fields plus 6.19:rc1, rc2 and rc3; a VulDB tag mentions Information Disclosure, but the authoritative assessment scores C:N/I:N/A:L, so confidentiality and integrity impact are not supported. The sources do not describe how the ksmbd_iov_pin_rsp() failure is triggered or whether it is attacker-controlled, so reliable exploitation is unverified.

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 (Low–High)
NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 4.3 MEDIUM

ksmbd serves SMB over the network (AV:N) and needs an authenticated session (PR:L); an unreleased handle on an error path is a resource leak, so A:L and no confidentiality/integrity impact; exact mechanism undescribed.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 3.3 LOW

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 VectorNVD

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

Lifecycle Timeline

3
CVSS changed
Nov 05, 2026 - 22:38 NVD
7.8 (HIGH)
CVE Published
Feb 14, 2026 - 17:15 nvd
HIGH 7.8
CVE Published
Feb 14, 2026 - 17:15 nvd
N/A

DescriptionNVD

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

smb/server: call ksmbd_session_rpc_close() on error path in create_smb2_pipe()

When ksmbd_iov_pin_rsp() fails, we should call ksmbd_session_rpc_close().

Executive ViewAI

Why It Matters

CVE-2025-71220 is a high-severity vulnerability in the Linux kernel's optional ksmbd SMB server that could cause low availability impact on systems running the non-default ksmbd service. Only organizations that have compiled and exposed this optional component are affected, and exploitation requires an authenticated SMB session. Leadership should prioritize patching only if the ksmbd service is in active use, as the real-world risk is limited and no public exploit has been identified.

Business Impact: Low
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Prevalence
Low
ksmbd in-kernel SMB server is rarely enabled or exposed in production
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.0%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Low

Priority Score

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

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*

Vendor StatusVendor

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