CVE-2021-47345
RDMA/cma: Fix rdma_resolve_route() memory leak
Reported by linux · Published May 21, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 4.14.241-184.433.amzn2 |
| kernel-headers | Amazon Linux | 4.14.241-184.433.amzn2 |
| python-perf | Amazon Linux | 4.14.241-184.433.amzn2 |
| linux_kernel | linux | 5.13.3, 5.12.18, 5.10.51, 5.4.133, 4.19.198, 4.14.240, 4.9.276, 4.4.276 |
| Linux | Linux | f4f553d67236145fa5fd203ed7b35b9377e19939, e4e062da082a199357ba4911145f331d40139ad8, e2da8ce2a9543f3ca5c93369bd1fe6eeb572101a, 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9, 4893c938f2a140a74be91779e45e4a7fa111198f, 40b613db3a95bc27998e4097d74c2f7e5d083a0b, 3d08b5917984f737f32d5bee9737b9075c3895c6, 2.6.18, 07583ba2e2d8947c3d365d97608cb436510885ac, 032c68b4f5be128a2167f35b558b7cec88fe4972 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e51060f08a61965c4dd91516d82fe90617152590, e51060f08a61965c4dd91516d82fe90617152590, e51060f08a61965c4dd91516d82fe90617152590 |
| Linux | Linux | 2.6.18, 0, 4.4.276 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | python-perf | 0 |
| Linux | Linux | *, 5.12.18, 5.13.3 |
| linux | linux_kernel | 2.6.18, 2.6.18, 2.6.18 |
| amazon:2 | kernel-livepatch-4.14.241-184.433 | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | kernel | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | perf | 0 |
Timeline
- May 21, 2024 CVE Published
- May 22, 2024 EPSS Score (30 in total, the first dated here)
- Jun 2, 2026 Security Advisory (16 in total, the first dated here)
- Jul 13, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (15 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-47345
vulnetix vdb fixes CVE-2021-47345
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-47345/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart