Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-47345

MEDIUM 5.5EPSS 17%

RDMA/cma: Fix rdma_resolve_route() memory leak

Mitigation

  • Upgrade Linux to 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9 or later.

Who should check

  • Anyone running Linux >= e51060f08a61965c4dd91516d82fe90617152590, < 40b613db3a95bc27998e4097d74c2f7e5d083a0b; >= e51060f08a61965c4dd91516d82fe90617152590, < e2da8ce2a9543f3ca5c93369bd1fe6eeb572101a; >= e51060f08a61965c4dd91516d82fe90617152590, < e4e062da082a199357ba4911145f331d40139ad8; >= e51060f08a61965c4dd91516d82fe90617152590, < 4893c938f2a140a74be91779e45e4a7fa111198f; >= e51060f08a61965c4dd91516d82fe90617152590, < 032c68b4f5be128a2167f35b558b7cec88fe4972; >= e51060f08a61965c4dd91516d82fe90617152590, < 3d08b5917984f737f32d5bee9737b9075c3895c6; >= e51060f08a61965c4dd91516d82fe90617152590, < f4f553d67236145fa5fd203ed7b35b9377e19939; >= e51060f08a61965c4dd91516d82fe90617152590, < 07583ba2e2d8947c3d365d97608cb436510885ac; >= e51060f08a61965c4dd91516d82fe90617152590, < 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9
  • Anyone running Linux 2.6.18

Vulnerability facts

Affected
Linux >= e51060f08a61965c4dd91516d82fe90617152590, < 40b613db3a95bc27998e4097d74c2f7e5d083a0b; >= e51060f08a61965c4dd91516d82fe90617152590, < e2da8ce2a9543f3ca5c93369bd1fe6eeb572101a; >= e51060f08a61965c4dd91516d82fe90617152590, < e4e062da082a199357ba4911145f331d40139ad8; >= e51060f08a61965c4dd91516d82fe90617152590, < 4893c938f2a140a74be91779e45e4a7fa111198f; >= e51060f08a61965c4dd91516d82fe90617152590, < 032c68b4f5be128a2167f35b558b7cec88fe4972; >= e51060f08a61965c4dd91516d82fe90617152590, < 3d08b5917984f737f32d5bee9737b9075c3895c6; >= e51060f08a61965c4dd91516d82fe90617152590, < f4f553d67236145fa5fd203ed7b35b9377e19939; >= e51060f08a61965c4dd91516d82fe90617152590, < 07583ba2e2d8947c3d365d97608cb436510885ac; >= e51060f08a61965c4dd91516d82fe90617152590, < 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9; Linux 2.6.18
Fixed in
Linux 40b613db3a95bc27998e4097d74c2f7e5d083a0b, Linux 4893c938f2a140a74be91779e45e4a7fa111198f, Linux 032c68b4f5be128a2167f35b558b7cec88fe4972, Linux 3d08b5917984f737f32d5bee9737b9075c3895c6, Linux 07583ba2e2d8947c3d365d97608cb436510885ac, Linux 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
CWE
CWE-401
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= e51060f08a61965c4dd91516d82fe90617152590, < 40b613db3a95bc27998e4097d74c2f7e5d083a0b; >= e51060f08a61965c4dd91516d82fe90617152590, < e2da8ce2a9543f3ca5c93369bd1fe6eeb572101a; >= e51060f08a61965c4dd91516d82fe90617152590, < e4e062da082a199357ba4911145f331d40139ad8; >= e51060f08a61965c4dd91516d82fe90617152590, < 4893c938f2a140a74be91779e45e4a7fa111198f; >= e51060f08a61965c4dd91516d82fe90617152590, < 032c68b4f5be128a2167f35b558b7cec88fe4972; >= e51060f08a61965c4dd91516d82fe90617152590, < 3d08b5917984f737f32d5bee9737b9075c3895c6; >= e51060f08a61965c4dd91516d82fe90617152590, < f4f553d67236145fa5fd203ed7b35b9377e19939; >= e51060f08a61965c4dd91516d82fe90617152590, < 07583ba2e2d8947c3d365d97608cb436510885ac; >= e51060f08a61965c4dd91516d82fe90617152590, < 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9—cvelist
Linux2.6.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-47345. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47345.md
Affected: Linux >= e51060f08a61965c4dd91516d82fe90617152590, < 40b613db3a95bc27998e4097d74c2f7e5d083a0b; >= e51060f08a61965c4dd91516d82fe90617152590, < e2da8ce2a9543f3ca5c93369bd1fe6eeb572101a; >= e51060f08a61965c4dd91516d82fe90617152590, < e4e062da082a199357ba4911145f331d40139ad8; >= e51060f08a61965c4dd9151…
Fixed in: Linux 40b613db3a95bc27998e4097d74c2f7e5d083a0b, Linux 4893c938f2a140a74be91779e45e4a7fa111198f, Linux 032c68b4f5be128a2167f35b558b7cec88fe4972, Linux 3d08b5917984f737f32d5bee9737b9075c3895c6, Linux 07583ba2e2d8947c3d365d97608cb436510885ac, Linux 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-47345 being exploited?

There is no confirmed exploitation: CVE-2021-47345 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-47345?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2021-47345?

Linux >= e51060f08a61965c4dd91516d82fe90617152590, < 40b613db3a95bc27998e4097d74c2f7e5d083a0b; >= e51060f08a61965c4dd91516d82fe90617152590, < e2da8ce2a9543f3ca5c93369bd1fe6eeb572101a; >= e51060f08a61965c4dd91516d82fe90617152590, < e4e062da082a199357ba4911145f331d40139ad8; >= e51060f08a61965c4dd91516d82fe90617152590, < 4893c938f2a140a74be91779e45e4a7fa111198f; >= e51060f08a61965c4dd91516d82fe90617152590, < 032c68b4f5be128a2167f35b558b7cec88fe4972; >= e51060f08a61965c4dd91516d82fe90617152590, < 3d08b5917984f737f32d5bee9737b9075c3895c6; >= e51060f08a61965c4dd91516d82fe90617152590, < f4f553d67236145fa5fd203ed7b35b9377e19939; >= e51060f08a61965c4dd91516d82fe90617152590, < 07583ba2e2d8947c3d365d97608cb436510885ac; >= e51060f08a61965c4dd91516d82fe90617152590, < 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9; Linux 2.6.18.

Is there a fix for CVE-2021-47345?

Yes. Fixed in Linux 40b613db3a95bc27998e4097d74c2f7e5d083a0b, Linux 4893c938f2a140a74be91779e45e4a7fa111198f, Linux 032c68b4f5be128a2167f35b558b7cec88fe4972, Linux 3d08b5917984f737f32d5bee9737b9075c3895c6, Linux 07583ba2e2d8947c3d365d97608cb436510885ac, Linux 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9. Upgrade Linux to 74f160ead74bfe5f2b38afb4fcf86189f9ff40c9 or later.

How do I check if I'm affected by CVE-2021-47345?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors