CVE-2025-68246

Source
https://cve.org/CVERecord?id=CVE-2025-68246
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68246.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-68246
Downstream
Related
Published
2025-12-16T14:21:23.551Z
Modified
2026-03-20T12:46:19.743379Z
Summary
ksmbd: close accepted socket when per-IP limit rejects connection
Details

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 ksmbdkthreadfn(), 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68246.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0626e6641f6b467447c81dd7678a69c66f7746cf
Fixed
7a3c7154d5fc05956a8ad9e72ecf49e21555bfca
Fixed
5746b2a0f5eb3d79667b3c51fe849bd62464220e
Fixed
4587a7826be1ae0190dba10ff70b46bb0e3bc7d3
Fixed
35521b5a7e8a184548125f4530552101236dcda1
Fixed
98a5fd31cbf72d46bf18e50b3ab0ce86d5f319a9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68246.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
6.1.159
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.117
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.59
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68246.json"