CVE-2025-38501
ksmbd: limit repeated connections from clients with the same IP
Check your servers for CVE-2025-38501
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38501 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 2.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 83.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 17 Sep 2025):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-400 Uncontrolled Resource Consumption
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before cb092fc3a62972a4aa47c9fe356c2c6a01cd840b affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before fa1c47af4ff641cf9197ecdb1f8240cbb30389c1 affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 7e5d91d3e6c62a9755b36f29c35288f06c3cd86b affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before f1ce9258bcbce2491f9f71f7882b6eed0b33ec65 affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 6073afe64510c302b7a0683a01e32c012eff715d affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before e6bb9193974059ddbb0ce7763fa3882bd60d4dc3
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 6.1.148 up to and including 6.1.* unaffected from 6.6.102 up to and including 6.6.* unaffected from 6.12.42 up to and including 6.12.* unaffected from 6.15.10 up to and including 6.15.* unaffected from 6.16.1 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38501 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38501
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38501
trivy image --scanners vuln IMAGE | grep CVE-2025-38501
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/cb092fc3a62972a4aa47c9fe356c2c6a01cd840b git.kernel.org
- https://git.kernel.org/stable/c/fa1c47af4ff641cf9197ecdb1f8240cbb30389c1 git.kernel.org
- https://git.kernel.org/stable/c/7e5d91d3e6c62a9755b36f29c35288f06c3cd86b git.kernel.org
- https://git.kernel.org/stable/c/f1ce9258bcbce2491f9f71f7882b6eed0b33ec65 git.kernel.org
- https://git.kernel.org/stable/c/6073afe64510c302b7a0683a01e32c012eff715d git.kernel.org
- https://git.kernel.org/stable/c/e6bb9193974059ddbb0ce7763fa3882bd60d4dc3 git.kernel.org
- https://github.com/keymaker-arch/KSMBDrain github.com
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- http://www.openwall.com/lists/oss-security/2025/09/15/2 openwall.com
Source: the record CVE-2025-38501 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse