RDMA/cma: Fix rdma_resolve_route() memory leak
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e51060f08a61965c4dd91516d82fe90617152590 · < 3d08b5917984f737f32d5bee9737b9075c3895c6| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
RDMA/cma: Fix rdma_resolve_route() memory leak
Fix a memory leak when "mda_resolve_route() is called more than once on the same "rdma_cm_id".
This is possible if cma_query_handler() triggers the RDMA_CM_EVENT_ROUTE_ERROR flow which puts the state machine back and allows rdma_resolve_route() to be called again.
From the CVE record · Linux
The Linux kernel's RDMA/cma component can leak memory when rdma_resolve_route() is called more than once on the same rdma_cm_id. This can occur after cma_query_handler() triggers an RDMA_CM_EVENT_ROUTE_ERROR and resets the state machine; the input does not establish how an attacker could trigger it or whether authentication or user interaction is required.
Operators running the Linux kernel should check their RDMA/cma deployments; affected versions were not provided.