Description
In the Linux kernel, the following vulnerability has been resolved: svcrdma: Reject connection when transport allocation fails handle_connect_req() returns without action when svc_rdma_create_xprt() fails to allocate the new transport. The CM core returns 0 for CONNECT_REQUEST events, so it does not destroy the new rdma_cm_id. Each allocation failure under memory pressure leaks one rdma_cm_id, and a remote peer driving connection attempts can amplify this. Reject the connection by returning a non-zero status from the CM event handler, which tells the CM core to destroy the orphaned cm_id.
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
377f9b2f4529e0ac702fd7b91e216afd0adc959e to < 387401ebe7f4897acd18321dc94817ad6a33f580affected377f9b2f4529e0ac702fd7b91e216afd0adc959e to < 5bf47bbea3c22c0af2293b6c393ab04d5420f7abaffected377f9b2f4529e0ac702fd7b91e216afd0adc959e to < 6e21754bbf75075f3fee1cebc79f3417364235ecaffected377f9b2f4529e0ac702fd7b91e216afd0adc959e to < 3cf372cec7ab2cd8c6002bf775cc14d90ccb098baffected377f9b2f4529e0ac702fd7b91e216afd0adc959e to < 1f6a14c142fee4778c32709d1d54595c2e2b7991affected377f9b2f4529e0ac702fd7b91e216afd0adc959e to < 0944462247dcb7de7622cdaaadf5f05c52707dabaffected
Linux Linux
Default version status: affected
2.6.25affected0 to < 2.6.25unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/387401ebe7f4897acd18321dc94817ad6a33f580 ↗
- https://git.kernel.org/stable/c/5bf47bbea3c22c0af2293b6c393ab04d5420f7ab ↗
- https://git.kernel.org/stable/c/6e21754bbf75075f3fee1cebc79f3417364235ec ↗
- https://git.kernel.org/stable/c/3cf372cec7ab2cd8c6002bf775cc14d90ccb098b ↗
- https://git.kernel.org/stable/c/1f6a14c142fee4778c32709d1d54595c2e2b7991 ↗
- https://git.kernel.org/stable/c/0944462247dcb7de7622cdaaadf5f05c52707dab ↗