CVE-2021-47391
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47391 is a vulnerability in the Linux kernel's RDMA (Remote Direct Memory Access) Connection Manager component. The vulnerability was discovered in 2021 and involves a race condition in the address resolution process. Specifically, the issue occurs when rdma_resolve_ip() can be called twice on the same id_priv, violating the invariant that the same address resolution background request cannot be active twice (Kernel Git).

Technical details

The vulnerability stems from a Finite State Machine (FSM) race condition where rdma_resolve_ip() can be called twice on the same id_priv. The issue manifests when the FSM runs in a circle, allowing multiple address resolution background requests to be active simultaneously. This creates a situation where the req_list can have two requests for the same handle, but rdma_addr_cancel() only cancels the first one, leaving the second request active beyond rdma_destroy_id() (Kernel Git).

Impact

The vulnerability can lead to a use-after-free condition when the second request remains active beyond rdma_destroy_id() and attempts to access the freed id_priv structure. This could potentially result in memory corruption and system instability (Kernel Git).

Exploitability

The vulnerability requires specific timing conditions to be met and cannot happen without going through the work queue, though it violates the invariant that the same address resolution background request cannot be active twice (Kernel Git).

Mitigation and workarounds

The issue has been fixed by implementing a tracking mechanism to remember if id_priv has called rdma_resolve_ip() and ensuring rdma_addr_cancel() is called before issuing new requests. This ensures the req_list never gets more than one item in it. The fix was implemented in the Linux kernel through a patch that adds a new used_resolve_ip flag to track the state (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management