CVE-2025-68246

published 16 Dec 2025 · updated 5 Aug 2026

ksmbd: close accepted socket when per-IP limit rejects connection

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 35521b5a7e8a184548125f4530552101236dcda1, Kernel 4587a7826be1ae0190dba10ff70b46bb0e3bc7d3, Kernel 5746b2a0f5eb3d79667b3c51fe849bd62464220e and 2 more.

In the Linux kernel, the following vulnerability has been resolved: ksmbd: close accepted socket when per-IP limit rejects connection 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. That leaks one socket per rejected attempt from a single IP and enables a trivial remote DoS. Release client_sk before continuing. This bug was found with ZeroPath.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <35521b5a7e8a184548125f4530552101236dcda1, >=0626e6641f6b467447c81dd7678a69c66f7746cf <4587a7826be1ae0190dba10ff70b46bb0e3bc7d3, >=0626e6641f6b467447c81dd7678a69c66f7746cf <5746b2a0f5eb3d79667b3c51fe849bd62464220e, >=0626e6641f6b467447c81dd7678a69c66f7746cf <7a3c7154d5fc05956a8ad9e72ecf49e21555bfca, >=0626e6641f6b467447c81dd7678a69c66f7746cf <98a5fd31cbf72d46bf18e50b3ab0ce86d5f319a935521b5a7e8a184548125f4530552101236dcda1, 4587a7826be1ae0190dba10ff70b46bb0e3bc7d3, 5746b2a0f5eb3d79667b3c51fe849bd62464220e, 7a3c7154d5fc05956a8ad9e72ecf49e21555bfca, 98a5fd31cbf72d46bf18e50b3ab0ce86d5f319a9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-68246 severity on Zeptric[![CVE-2025-68246](https://zeptric.io/badge/cve/CVE-2025-68246.svg)](https://zeptric.io/cve/CVE-2025-68246)