5.5medium
RDMA/cma: Fix rdma_resolve_route() memory leak
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e51060f08a61965c4dd91516d82fe90617152590 before 40b613db3a95bc27998e4097d74c2f7e5d083a0b, from e51060f08a61965c4dd91516d82fe90617152590 before e2da8ce2a9543f3ca5c93369bd1fe6eeb572101a, from e51060f08a61965c4dd91516d82fe90617152590 before e4e062da082a199357ba4911145f331d40139ad8, from e51060f08a61965c4dd91516d82fe90617152590 before 4893c938f2a140a74be91779e45e4a7fa111198f, from e51060f08a61965c4dd91516d82fe90617152590 before 032c68b4f5be128a2167f35b558b7cec88fe4972, from e51060f08a61965c4dd91516d82fe90617152590 before 3d08b5917984f737f32d5bee9737b9075c3895c6, from e51060f08a61965c4dd91516d82fe90617152590 before f4f553d67236145fa5fd203ed7b35b9377e19939, from e51060f08a61965c4dd91516d82fe90617152590 before 07583ba2e2d8947c3d365d97608cb436510885ac and 2 more Not affected: before 2.6.18, from 4.4.276 up to 4.4.*, from 4.9.276 up to 4.9.*, from 4.14.240 up to 4.14.*, from 4.19.198 up to 4.19.*, from 5.4.133 up to 5.4.* | CVE List |
| linux linux_kernel | before 4.4.276, from 4.5 before 4.9.276, from 4.10 before 4.14.240, from 4.15 before 4.19.198, from 4.20 before 5.4.133, from 5.5 before 5.10.51, from 5.11 before 5.12.18, from 5.13 before 5.13.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/cma: Reparar pérdida de memoria rdma_resolve_route(). Reparar una pérdida de memoria cuando se llama a "mda_resolve_route() más de una vez en el mismo "rdma_cm_id". Esto es posible si cma_query_handler() desencadena el flujo RDMA_CM_EVENT_ROUTE_ERROR que devuelve la máquina de estado y permite volver a llamar a rdma_resolve_route().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47345 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47345 changed 2026-06-17 | Public domain |