{"id":"CVE-2025-68246","aliases":["CVE-2025-68246"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: close accepted socket when per-IP limit rejects connection","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: close accepted socket when per-IP limit rejects connection\n\nWhen the per-IP connection limit is exceeded in ksmbd_kthread_fn(),\nthe code sets ret = -EAGAIN and continues the accept loop without\nclosing the just-accepted socket. That leaks one socket per rejected\nattempt from a single IP and enables a trivial remote DoS.\n\nRelease client_sk before continuing.\n\nThis bug was found with ZeroPath.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: close accepted socket when per-IP limit rejects connection\n\nWhen the per-IP connection limit is exceeded in ksmbd_kthread_fn(),\nthe code sets ret = -EAGAIN and continues the accept loop without\nclosing the just-accepted socket. That leaks one socket per rejected\nattempt from a single IP and enables a trivial remote DoS.\n\nRelease client_sk before continuing.\n\nThis bug was found with ZeroPath.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nksmbd: cerrar el socket aceptado cuando el límite por IP rechaza la conexión\n\nCuando 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.\n\nLiberar client_sk antes de continuar.\n\nEste error fue encontrado con ZeroPath.","source":"nvd"}],"published":"2025-12-16T14:21:23.551Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"7a3c7154d5fc05956a8ad9e72ecf49e21555bfca","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"5746b2a0f5eb3d79667b3c51fe849bd62464220e","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"4587a7826be1ae0190dba10ff70b46bb0e3bc7d3","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"35521b5a7e8a184548125f4530552101236dcda1","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"98a5fd31cbf72d46bf18e50b3ab0ce86d5f319a9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.117","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.59","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.9","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7a3c7154d5fc05956a8ad9e72ecf49e21555bfca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5746b2a0f5eb3d79667b3c51fe849bd62464220e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4587a7826be1ae0190dba10ff70b46bb0e3bc7d3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35521b5a7e8a184548125f4530552101236dcda1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98a5fd31cbf72d46bf18e50b3ab0ce86d5f319a9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68246","url":"https://www.cve.org/CVERecord?id=CVE-2025-68246","licence":"CVE Terms of Use","modified":"2026-08-05T12:10:26.942Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68246","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68246","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.511Z","epss":{"score":0.00444,"percentile":0.40371,"date":"2026-12-01T12:00:22.000Z"}}