CVE-2025-38501: ksmbd: limit repeated connections from clients with the same IP
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: limit repeated connections from clients with the same IP
Repeated connections from clients with the same IP address may exhaust
the max connections and prevent other normal client connections.
This patch limit repeated connections from clients with the same IP.
Security readout for executives and security teams
Plain-English summary
A remote, unauthenticated client can repeatedly connect to a Linux ksmbd file server until its connection capacity is exhausted. Legitimate users may then be unable to access SMB shares. The issue affects availability, not confidentiality or data integrity, according to the supplied CVSS assessment.
Executive priority
Prioritize internet-facing or broadly reachable ksmbd servers for rapid remediation. Internal-only systems still warrant scheduled patching because any reachable unauthenticated client could disrupt file-sharing availability. Business urgency depends on SMB service criticality and network exposure.
Technical view
CVE-2025-38501 is a CWE-400 resource-exhaustion flaw in Linux kernel ksmbd. Repeated connections from one source IP can consume the maximum connection allowance and block other clients. It is network-accessible, low-complexity, requires no privileges or user interaction, and has a CVSS 3.1 score of 7.5.
Likely exposure
Exposure is limited to systems running ksmbd, particularly where SMB is reachable from untrusted networks. The bundle lists Linux versions 5.15, 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1, and 6.17 as affected. Distribution package status must be confirmed separately.
Exploitation context
A public repository named KSMBDrain is referenced, indicating public exploit-related research or tooling. However, the supplied record does not establish real-world attacks, and the CVE is not listed in KEV. Treat practical abuse as plausible without claiming active exploitation.
Researcher notes
The fix limits repeated connections from the same IP. Six Linux stable commits are supplied, suggesting backports across kernel branches, but the bundle does not map each commit to a specific release. The affected-version data also contains ambiguous commit-hash entries, so use distribution advisories and commit inclusion checks for authoritative host-level decisions.
Mitigation direction
Update to a vendor-supported kernel containing the applicable upstream ksmbd fix.
Check Linux distribution advisories for the corrected package version for each deployed release.
Restrict SMB access to trusted networks and clients until affected systems are updated.
Disable ksmbd where SMB file-serving functionality is unnecessary.
Validation and detection
Inventory hosts running or configured to load ksmbd.
Identify each host's exact kernel and distribution package version.
Verify SMB network reachability from untrusted or unnecessary network segments.
Confirm the installed kernel includes the applicable referenced stable fix.
Monitor for connection saturation or abnormal repeated connections from individual addresses.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-400: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.