CVE-2025-38501
published high CVSS 3.1 · 7.5ksmbd: limit repeated connections from clients with the same IP
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0626e6641f6b467447c81dd7678a69c66f7746cf to < cb092fc3a62972a4aa47c9fe356c2c6a01cd840b · 0626e6641f6b467447c81dd7678a69c66f7746cf to < fa1c47af4ff641cf9197ecdb1f8240cbb30389c1 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 7e5d91d3e6c62a9755b36f29c35288f06c3cd86b · 0626e6641f6b467447c81dd7678a69c66f7746cf to < f1ce9258bcbce2491f9f71f7882b6eed0b33ec65 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 6073afe64510c302b7a0683a01e32c012eff715d · 0626e6641f6b467447c81dd7678a69c66f7746cf to < e6bb9193974059ddbb0ce7763fa3882bd60d4dc3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 6.1.148 through 6.1.* (unaffected · semver) · 6.6.102 through 6.6.* (unaffected · semver) · 6.12.42 through 6.12.* (unaffected · semver) · 6.15.10 through 6.15.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1046 | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1046 | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1046 | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1051.57~22.04.1 | USN-8126-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1051 | Advisory build | 6.8.0-1051.57~22.04.1 | USN-8126-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1051 | Advisory build | 6.8.0-1051.57~22.04.1 | USN-8126-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1051 | Advisory build | 6.8.0-1051.57~22.04.1 | USN-8126-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-100-generic | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-100-generic-64k | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-100-lowlatency | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-100-lowlatency-64k | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1043-oracle | Advisory build | 6.8.0-1043.44~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1043-oracle-64k | Advisory build | 6.8.0-1043.44~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1044-ibm | Advisory build | 6.8.0-1044.44~22.04.1 | USN-8028-8 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1046-aws | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1046-aws-64k | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1046-nvidia | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1046-nvidia-64k | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1047-gcp | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1047-gcp-64k | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1051-azure | Advisory build | 6.8.0-1051.57~22.04.1 | USN-8126-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.1-1041-realtime | Advisory build | 6.8.1-1041.42~22.04.1 | USN-8028-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-100-generic | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-100-lowlatency | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1046-aws | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1046-aws-64k | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1051-azure | Advisory build | 6.8.0-1051.57~22.04.1 | USN-8126-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.1-1041-realtime | Advisory build | 6.8.1-1041.42~22.04.1 | USN-8028-2 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1047 | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1047 | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-headers-6.8.0-100-generic | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-headers-6.8.0-100-generic-64k | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-headers-6.8.0-100-lowlatency | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-headers-6.8.0-100-lowlatency-64k | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-headers-6.8.0-1043-oracle | Advisory build | 6.8.0-1043.44~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-headers-6.8.0-1043-oracle-64k | Advisory build | 6.8.0-1043.44~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-headers-6.8.0-1044-ibm | Advisory build | 6.8.0-1044.44~22.04.1 | USN-8028-8 |
| Ubuntu | jammy | linux-headers-6.8.0-1046-aws | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-headers-6.8.0-1046-aws-64k | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-headers-6.8.0-1046-nvidia | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-headers-6.8.0-1046-nvidia-64k | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-headers-6.8.0-1047-gcp | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1047-gcp-64k | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1051-azure | Advisory build | 6.8.0-1051.57~22.04.1 | USN-8126-1 |
| Ubuntu | jammy | linux-headers-6.8.1-1041-realtime | Advisory build | 6.8.1-1041.42~22.04.1 | USN-8028-2 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-100 | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-100 | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-100 | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-ibm-6.8 | Advisory build | 6.8.0-1044.44~22.04.1 | USN-8028-8 |
| Ubuntu | jammy | linux-ibm-6.8-headers-6.8.0-1044 | Advisory build | 6.8.0-1044.44~22.04.1 | USN-8028-8 |
| Ubuntu | jammy | linux-ibm-6.8-tools-6.8.0-1044 | Advisory build | 6.8.0-1044.44~22.04.1 | USN-8028-8 |
| Ubuntu | jammy | linux-image-6.8.0-100-generic | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-100-generic | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-100-generic-64k | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-100-lowlatency | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-100-lowlatency-64k | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1043-oracle | Advisory build | 6.8.0-1043.44~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1043-oracle-64k | Advisory build | 6.8.0-1043.44~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1044-ibm | Advisory build | 6.8.0-1044.44~22.04.1 | USN-8028-8 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1046-aws | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1046-aws-64k | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1046-nvidia | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1046-nvidia-64k | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1047-gcp | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1047-gcp-64k | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1051-azure | Advisory build | 6.8.0-1051.57~22.04.1 | USN-8126-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.1-1041-realtime | Advisory build | 6.8.1-1041.42~22.04.1 | USN-8028-2 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-100 | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-100 | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-100-lowlatency | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-100 | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-modules-6.8.0-100-generic | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-modules-6.8.0-100-generic-64k | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-modules-6.8.0-100-lowlatency | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-modules-6.8.0-100-lowlatency-64k | Advisory build | 6.8.0-100.100.1~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-modules-6.8.0-1043-oracle | Advisory build | 6.8.0-1043.44~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-6.8.0-1043-oracle-64k | Advisory build | 6.8.0-1043.44~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-6.8.0-1044-ibm | Advisory build | 6.8.0-1044.44~22.04.1 | USN-8028-8 |
| Ubuntu | jammy | linux-modules-6.8.0-1046-aws | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-6.8.0-1046-aws-64k | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-6.8.0-1046-nvidia | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-6.8.0-1046-nvidia-64k | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-6.8.0-1047-gcp | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1047-gcp-64k | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1051-azure | Advisory build | 6.8.0-1051.57~22.04.1 | USN-8126-1 |
| Ubuntu | jammy | linux-modules-6.8.1-1041-realtime | Advisory build | 6.8.1-1041.42~22.04.1 | USN-8028-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-100-generic | Advisory build | 6.8.0-100.100~22.04.1 | USN-8028-6 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1043-oracle | Advisory build | 6.8.0-1043.44~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1043-oracle-64k | Advisory build | 6.8.0-1043.44~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1044-ibm | Advisory build | 6.8.0-1044.44~22.04.1 | USN-8028-8 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1046-aws | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1046-aws-64k | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1046-nvidia | Advisory build | 6.8.0-1046.49~22.04.1 | USN-8028-5 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1047-gcp | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1047-gcp-64k | Advisory build | 6.8.0-1047.50~22.04.2 | USN-8031-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - ksmbd is the in-kernel SMB server listening on TCP port 445, and the vulnerable accept path in `ksmbd_kthread_fn()` is driven entirely by inbound TCP connections from arbitrary remote hosts. Internet- and LAN-exposed file servers reach this code with no intermediate hop. AC:L - The attacker simply opens TCP connections in a loop and sends nothing; no race, no memory-layout dependency, and no state outside the attacker's control is involved. Because `ksmbd_tcp_readv()` is called with `max_retries = -1` and deadtime defaults to 0, the held connections are never reaped, making the attack fully deterministic and persistent. PR:N - Connection slots and per-connection kernel threads are allocated in `ksmbd_tcp_new_connection()` immediately after `kernel_accept()`, long before SMB NEGOTIATE or SESSION_SETUP — no credentials, share access, or SMB dialect negotiation is required. A completed TCP handshake is sufficient. UI:N - The attack is driven entirely by the remote attacker's own connections against the listening server socket. No action by an administrator, user, or legitimate SMB client is needed. S:U - The resource exhaustion is confined to the kernel's own connection slots, kthreads, and memory, all within the same security authority. No VM, IOMMU, or sandbox boundary is crossed. C:N - The fix adds only per-IP connection accounting; there is no out-of-bounds read, uninitialized memory disclosure, or kernel pointer leak anywhere on the traced path. Nothing about the attacker's data is returned or exposed. I:N - No memory is corrupted and no data is modified — the flaw is missing admission control, not a write primitive. Server state and file data remain intact. A:H - A single unauthenticated remote host can consume all of `server_conf.max_connections` with silent, never-timing-out connections, completely denying SMB service to every other client; where `max_connections` is unset the pre-fix code has no cap at all, allowing unbounded kthread and kernel-memory allocation plus continuous busy-poll CPU burn, escalating to system-wide exhaustion.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | CISA-ADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf to < cb092fc3a62972a4aa47c9fe356c2c6a01cd840b (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < fa1c47af4ff641cf9197ecdb1f8240cbb30389c1 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 7e5d91d3e6c62a9755b36f29c35288f06c3cd86b (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < f1ce9258bcbce2491f9f71f7882b6eed0b33ec65 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 6073afe64510c302b7a0683a01e32c012eff715d (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < e6bb9193974059ddbb0ce7763fa3882bd60d4dc3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)6.1.148 through 6.1.* (unaffected · semver)6.6.102 through 6.6.* (unaffected · semver)6.12.42 through 6.12.* (unaffected · semver)6.15.10 through 6.15.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-400 CWE-400 Uncontrolled Resource Consumption
References
9- http://www.openwall.com/lists/oss-security/2025/09/15/2
- https://git.kernel.org/stable/c/6073afe64510c302b7a0683a01e32c012eff715d
- https://git.kernel.org/stable/c/7e5d91d3e6c62a9755b36f29c35288f06c3cd86b
- https://git.kernel.org/stable/c/cb092fc3a62972a4aa47c9fe356c2c6a01cd840b
- https://git.kernel.org/stable/c/e6bb9193974059ddbb0ce7763fa3882bd60d4dc3
- https://git.kernel.org/stable/c/f1ce9258bcbce2491f9f71f7882b6eed0b33ec65
- https://git.kernel.org/stable/c/fa1c47af4ff641cf9197ecdb1f8240cbb30389c1
- https://github.com/keymaker-arch/KSMBDrain
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Provider assertions
3Linux · cna
ksmbd: limit repeated connections from clients with the same IP
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bc6b527321d78239c410e945dda6568263eca3c4f1859e354d6aad3d13ed9f5b
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record