7.5high
ksmbd: close accepted socket when per-IP limit rejects connection
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.44% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf before 7a3c7154d5fc05956a8ad9e72ecf49e21555bfca, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 5746b2a0f5eb3d79667b3c51fe849bd62464220e, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 4587a7826be1ae0190dba10ff70b46bb0e3bc7d3, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 35521b5a7e8a184548125f4530552101236dcda1, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 98a5fd31cbf72d46bf18e50b3ab0ce86d5f319a9, 5.15 Not affected: before 5.15, from 6.1.159 up to 6.1.*, from 6.6.117 up to 6.6.*, from 6.12.59 up to 6.12.*, from 6.17.9 up to 6.17.*, from 6.18 up to * | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ksmbd: cerrar el socket aceptado cuando el límite por IP rechaza la conexión Cuando se excede el límite de conexiones por IP en ksmbd_kthread_fn(), el código establece ret = -EAGAIN y continúa el bucle de aceptación sin cerrar el socket recién aceptado. Esto fuga un socket por cada intento rechazado desde una única IP y permite un DoS remoto trivial. Liberar client_sk antes de continuar. Este error fue encontrado con ZeroPath.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68246 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-68246 changed 2026-10-14 | Public domain |