Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: vsock/vmci: fix sk_ack_backlog leak on failed handshake When vmci_transport_recv_connecting_server() returns an error, vmci_transport_recv_listen() calls vsock_remove_pending() but never calls sk_acceptq_removed(). This leaves sk_ack_backlog incremented permanently. Repeated handshake failures (malformed packets, queue pair alloc failure, event subscribe failure) cause sk_ack_backlog to climb toward sk_max_ack_backlog. Once it reaches the limit the listener permanently refuses all new connections with -ECONNREFUSED, a silent denial of service requiring a process restart to recover. The two existing sk_acceptq_removed() calls in af_vsock.c do not cover this path: line 764 checks vsock_is_pending() which returns false after vsock_remove_pending(), and line 1889 is only reached on successful accept(). Fix by balancing sk_acceptq_added() with sk_acceptq_removed() on the error path.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d021c344051af91f42c5ba9fdedc176740cbd238 before 22c587aa3ab1ab5264daff3ec32136fd30436c13; affected d021c344051af91f42c5ba9fdedc176740cbd238 before cf7090e255d74c4b61c51f8ede9fcacdd8393b5b; affected d021c344051af91f42c5ba9fdedc176740cbd238 before ea0b03d52881c12a8c634ea0d6cbfa61cefdb488; affected d021c344051af91f42c5ba9fdedc176740cbd238 before dfd853197615d322d3a88dbcab91fc0fd2096219; affected d021c344051af91f42c5ba9fdedc176740cbd238 before bcb275626055df7f8f947f1a349754b4004d9a15; affected d021c344051af91f42c5ba9fdedc176740cbd238 before ba9ad6015937a5e46ba1a31370e3efdec8abbdcc; affected d021c344051af91f42c5ba9fdedc176740cbd238 before 9698582a4dd9c4a05889d7db96d4c0edc9e69cac; affected d021c344051af91f42c5ba9fdedc176740cbd238 before c05fa14db43ebef3bd862ca9d073981c0358b3f0 |
| Linux / Linux | affected 3.9; unaffected 0 before 3.9; unaffected 5.10.259 through 5.10.*; unaffected 5.15.210 through 5.15.*; unaffected 6.1.176 through 6.1.*; unaffected 6.6.143 through 6.6.*; unaffected 6.12.94 through 6.12.*; unaffected 6.18.36 through 6.18.*; unaffected 7.0.13 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/22c587aa3ab1ab5264daff3ec32136fd30436c13
- https://git.kernel.org/stable/c/cf7090e255d74c4b61c51f8ede9fcacdd8393b5b
- https://git.kernel.org/stable/c/ea0b03d52881c12a8c634ea0d6cbfa61cefdb488
- https://git.kernel.org/stable/c/dfd853197615d322d3a88dbcab91fc0fd2096219
- https://git.kernel.org/stable/c/bcb275626055df7f8f947f1a349754b4004d9a15
- https://git.kernel.org/stable/c/ba9ad6015937a5e46ba1a31370e3efdec8abbdcc
- https://git.kernel.org/stable/c/9698582a4dd9c4a05889d7db96d4c0edc9e69cac
- https://git.kernel.org/stable/c/c05fa14db43ebef3bd862ca9d073981c0358b3f0
ADP enrichment
No English description supplied.