Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c0cfa2d8a788fcf45df5bf4070ab2474c88d543a to < 2ea5d2c79edcc99c7dbe0bb7518f5e1ee2a2391faffectedc0cfa2d8a788fcf45df5bf4070ab2474c88d543a to < fd51e810affa38d735d04261e673b2a5fe9c8665affectedc0cfa2d8a788fcf45df5bf4070ab2474c88d543a to < f66c7904fb6f0e420a654bc90909e64a25d00896affectedc0cfa2d8a788fcf45df5bf4070ab2474c88d543a to < 65c484726e74013a2ec7ba67a34d87760ae8f390affectedc0cfa2d8a788fcf45df5bf4070ab2474c88d543a to < 29371f3cc83e2a92265b4768014a30b80234112faffectedc0cfa2d8a788fcf45df5bf4070ab2474c88d543a to < e9edf9893cf26d060705c910a9b62d8cc96ed56aaffectedc0cfa2d8a788fcf45df5bf4070ab2474c88d543a to < 6d3275fc4ed968938e1d556c344798046776668daffectedc0cfa2d8a788fcf45df5bf4070ab2474c88d543a to < 52bcb57a4e8a0865a76c587c2451906342ae1b2daffected
Linux Linux
Default version status: affected
5.5affected0 to < 5.5unaffected5.10.258 to ≤ 5.10.*unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.140 to ≤ 6.6.*unaffected6.12.90 to ≤ 6.12.*unaffected6.18.32 to ≤ 6.18.*unaffected7.0.9 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
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 ↗
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html ↗