CVE-2025-68246

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

State
Published
Severity
7.5 High
Published
Dec 16, 2025
Updated
Aug 5, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 7a3c7154d5fc05956a8ad9e72ecf49e21555bfcaAffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 5746b2a0f5eb3d79667b3c51fe849bd62464220eAffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 4587a7826be1ae0190dba10ff70b46bb0e3bc7d3Affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 35521b5a7e8a184548125f4530552101236dcda1Affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 98a5fd31cbf72d46bf18e50b3ab0ce86d5f319a9Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 6.1.159 through 6.1.*Not affected
  • 6.6.117 through 6.6.*Not affected
  • 6.12.59 through 6.12.*Not affected
  • 6.17.9 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.