vsock/virtio: fix accept queue count leak on transport mismatch
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.209, Kernel 6.1.175, Kernel 5.10.258 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.11 <5.15.209, >=5.16 <6.1.175, >=5.5 <5.10.258, >=6.13 <6.18.32, >=6.19 <7.0.9, >=6.2 <6.6.140, >=6.7 <6.12.90, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <2ea5d2c79edcc99c7dbe0bb7518f5e1ee2a2391f, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <52bcb57a4e8a0865a76c587c2451906342ae1b2d, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <65c484726e74013a2ec7ba67a34d87760ae8f390, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <6d3275fc4ed968938e1d556c344798046776668d, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <e9edf9893cf26d060705c910a9b62d8cc96ed56a, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <f66c7904fb6f0e420a654bc90909e64a25d00896, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <fd51e810affa38d735d04261e673b2a5fe9c8665, =5.5, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <29371f3cc83e2a92265b4768014a30b80234112f | 5.15.209, 6.1.175, 5.10.258, 6.18.32, 7.0.9, 6.6.140, 6.12.90, 2ea5d2c79edcc99c7dbe0bb7518f5e1ee2a2391f, 52bcb57a4e8a0865a76c587c2451906342ae1b2d, 65c484726e74013a2ec7ba67a34d87760ae8f390, 6d3275fc4ed968938e1d556c344798046776668d, e9edf9893cf26d060705c910a9b62d8cc96ed56a, f66c7904fb6f0e420a654bc90909e64a25d00896, fd51e810affa38d735d04261e673b2a5fe9c8665, 29371f3cc83e2a92265b4768014a30b80234112f |
| linux-kernel: Kernel | >=5.11.0 <5.15.209, >=5.16.0 <6.1.175, >=5.5.0 <5.10.258, >=6.13.0 <6.18.32, >=6.19.0 <7.0.9, >=6.2.0 <6.6.140, >=6.7.0 <6.12.90 | 5.15.209, 6.1.175, 5.10.258, 6.18.32, 7.0.9, 6.6.140, 6.12.90 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket