CVE-2021-47345

published 21 May 2024 · updated 11 May 2026

RDMA/cma: Fix rdma_resolve_route() memory leak

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 032c68b4f5be128a2167f35b558b7cec88fe4972, Kernel 07583ba2e2d8947c3d365d97608cb436510885ac, Kernel 3d08b5917984f737f32d5bee9737b9075c3895c6 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.18, >=e51060f08a61965c4dd91516d82fe90617152590 <032c68b4f5be128a2167f35b558b7cec88fe4972, >=e51060f08a61965c4dd91516d82fe90617152590 <07583ba2e2d8947c3d365d97608cb436510885ac, >=e51060f08a61965c4dd91516d82fe90617152590 <3d08b5917984f737f32d5bee9737b9075c3895c6, >=e51060f08a61965c4dd91516d82fe90617152590 <40b613db3a95bc27998e4097d74c2f7e5d083a0b, >=e51060f08a61965c4dd91516d82fe90617152590 <4893c938f2a140a74be91779e45e4a7fa111198f, >=e51060f08a61965c4dd91516d82fe90617152590 <74f160ead74bfe5f2b38afb4fcf86189f9ff40c9, >=e51060f08a61965c4dd91516d82fe90617152590 <e2da8ce2a9543f3ca5c93369bd1fe6eeb572101a, >=e51060f08a61965c4dd91516d82fe90617152590 <e4e062da082a199357ba4911145f331d40139ad8, >=e51060f08a61965c4dd91516d82fe90617152590 <f4f553d67236145fa5fd203ed7b35b9377e19939032c68b4f5be128a2167f35b558b7cec88fe4972, 07583ba2e2d8947c3d365d97608cb436510885ac, 3d08b5917984f737f32d5bee9737b9075c3895c6, 40b613db3a95bc27998e4097d74c2f7e5d083a0b, 4893c938f2a140a74be91779e45e4a7fa111198f, 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9, e2da8ce2a9543f3ca5c93369bd1fe6eeb572101a, e4e062da082a199357ba4911145f331d40139ad8, f4f553d67236145fa5fd203ed7b35b9377e19939

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47345 severity on Zeptric[![CVE-2021-47345](https://zeptric.io/badge/cve/CVE-2021-47345.svg)](https://zeptric.io/cve/CVE-2021-47345)