Linux
ksmbd: close accepted socket when per-IP limit rejects connection
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 7a3c7154d5fc05956a8ad9e72ecf49e21555bfca
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 5746b2a0f5eb3d79667b3c51fe849bd62464220e
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 4587a7826be1ae0190dba10ff70b46bb0e3bc7d3
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 35521b5a7e8a184548125f4530552101236dcda1
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 98a5fd31cbf72d46bf18e50b3ab0ce86d5f319a9
Fixed in 7a3c7154d5fc05956a8ad9e72ecf49e21555bfca, 5746b2a0f5eb3d79667b3c51fe849bd62464220e, 4587a7826be1ae0190dba10ff70b46bb0e3bc7d3, 35521b5a7e8a184548125f4530552101236dcda1, 98a5fd31cbf72d46bf18e50b3ab0ce86d5f319a9
- 5.15
Fixed in 0, 6.1.159, 6.6.117, 6.12.59, 6.17.9, 6.18
Mitigation
Upgrade Linux to 7a3c7154d5fc05956a8ad9e72ecf49e21555bfca or 5746b2a0f5eb3d79667b3c51fe849bd62464220e or 4587a7826be1ae0190dba10ff70b46bb0e3bc7d3 or 35521b5a7e8a184548125f4530552101236dcda1 or 98a5fd31cbf72d46bf18e50b3ab0ce86d5f319a9 or later.
Upgrade Linux to 0 or 6.1.159 or 6.6.117 or 6.12.59 or 6.17.9 or 6.18 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.