Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: fix accept queue count leak on transport mismatch virtio_transport_recv_listen() calls sk_acceptq_added() before vsock_assign_transport(). If vsock_assign_transport() fails or selects a different transport, the error path returns without calling sk_acceptq_removed(), permanently incrementing sk_ack_backlog. After approximately backlog+1 such failures, sk_acceptq_is_full() returns true, causing the listener to reject all new connections. Fix by moving sk_acceptq_added() to after the transport validation, matching the pattern used by vmci_transport and hyperv_transport.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before 2ea5d2c79edcc99c7dbe0bb7518f5e1ee2a2391f; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before fd51e810affa38d735d04261e673b2a5fe9c8665; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before f66c7904fb6f0e420a654bc90909e64a25d00896; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before 65c484726e74013a2ec7ba67a34d87760ae8f390; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before 29371f3cc83e2a92265b4768014a30b80234112f; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before e9edf9893cf26d060705c910a9b62d8cc96ed56a; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before 6d3275fc4ed968938e1d556c344798046776668d; affected c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before 52bcb57a4e8a0865a76c587c2451906342ae1b2d |
| Linux / Linux | affected 5.5; unaffected 0 before 5.5; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.140 through 6.6.*; unaffected 6.12.90 through 6.12.*; unaffected 6.18.32 through 6.18.*; unaffected 7.0.9 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2ea5d2c79edcc99c7dbe0bb7518f5e1ee2a2391f
- https://git.kernel.org/stable/c/fd51e810affa38d735d04261e673b2a5fe9c8665
- https://git.kernel.org/stable/c/f66c7904fb6f0e420a654bc90909e64a25d00896
- https://git.kernel.org/stable/c/65c484726e74013a2ec7ba67a34d87760ae8f390
- https://git.kernel.org/stable/c/29371f3cc83e2a92265b4768014a30b80234112f
- https://git.kernel.org/stable/c/e9edf9893cf26d060705c910a9b62d8cc96ed56a
- https://git.kernel.org/stable/c/6d3275fc4ed968938e1d556c344798046776668d
- https://git.kernel.org/stable/c/52bcb57a4e8a0865a76c587c2451906342ae1b2d
ADP enrichment
No English description supplied.