
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68246 is a socket resource leak vulnerability in the Linux kernel's ksmbd (kernel SMB server) subsystem that enables a trivial remote Denial of Service (DoS). When the per-IP connection limit is exceeded in ksmbd_kthread_fn(), the code sets ret = -EAGAIN and continues the accept loop without closing the just-accepted socket, leaking one socket per rejected connection attempt from a single IP. The vulnerability affects the Linux kernel across multiple stable branches and was disclosed on December 16, 2025. Fixed versions include Linux 6.1.159, 6.6.117, 6.12.59, 6.17.9, and 6.18. No CVSS base score has been formally assigned; the EPSS score is approximately 0.018% (Feedly, EUVD).
The root cause is a missing socket release (resource leak) in the ksmbd connection acceptance loop — classified as CWE-404 (Improper Resource Shutdown or Release). In ksmbd_kthread_fn(), when a new TCP connection is accepted but subsequently rejected because the per-IP connection limit has been reached, the code path sets an error code and continues the loop without calling the appropriate socket close/release function on client_sk. The fix requires releasing client_sk before continuing the loop. The bug was discovered and reported by ZeroPath (Feedly, EUVD).
Successful exploitation causes a socket descriptor leak on the server for every rejected connection attempt from a single IP address, progressively exhausting kernel socket resources. An unauthenticated remote attacker can trigger this condition repeatedly to deplete available file descriptors or kernel memory, resulting in a Denial of Service that disrupts SMB file sharing services and potentially destabilizes the affected host. There is no known confidentiality or integrity impact; the vulnerability is limited to availability (Feedly, EUVD).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2025-68246. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.018% (0.000180), indicating a very low probability of exploitation in the near term. However, the attack is described as "trivial" — requiring only repeated SMB connection attempts from a single IP to a ksmbd-enabled server, with no authentication required (Feedly, EUVD).
nmap or smbclient.dmesg or /var/log/kern.log) showing repeated ksmbd per-IP limit rejection messages; system logs indicating file descriptor exhaustion (e.g., "too many open files" errors).ss -s or cat /proc/net/sockstat; ksmbd worker threads showing elevated socket counts without corresponding active sessions; system resource monitors showing file descriptor usage approaching system limits.Apply the upstream kernel patches that add client_sk release before the continue statement in ksmbd_kthread_fn(). Fixed versions are available in the following stable kernel releases: 6.1.159, 6.6.117, 6.12.59, 6.17.9, and 6.18. As a workaround, administrators who do not require ksmbd can disable or unload the ksmbd kernel module (modprobe -r ksmbd), or restrict access to TCP port 445 via firewall rules to trusted IP ranges. Debian LTS users should apply the linux-6.1 update referenced in DLA-4436-1 (Feedly, Debian LTS).
The vulnerability was detected by Qualys scanners (multiple detection IDs) and covered by Tenable (Nessus plugin 278879), indicating prompt uptake by vulnerability management vendors. Debian issued a Long Term Support advisory (DLA-4436-1) addressing this and related kernel CVEs. No notable researcher commentary or significant social media discussion has been identified beyond standard vulnerability database entries (Feedly, Debian LTS, Tenable).
Fix availability across major Linux distributions and their releases.
bionic
linux
bionic (esm-infra)
linux
bionic (fips-updates)
linux-fips
bionic (fips)
linux-fips
devel
linux
focal
linux
focal (esm-infra)
linux-hwe-5.15
focal (fips-updates)
linux-fips
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."